Skip to content

[Snyk] Security upgrade python from 3.9 to 3.14.1 #6

[Snyk] Security upgrade python from 3.9 to 3.14.1

[Snyk] Security upgrade python from 3.9 to 3.14.1 #6

Workflow file for this run

name: Checks
on:
pull_request:
jobs:
test:
name: Python ${{ matrix.python-version }} tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install .[test]
python -m pip install pytest-github-actions-annotate-failures
- name: pytest
run: python -m pytest -v tests
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install mypy & stubs packages
run: python -m pip install .[mypy]
- name: mypy
run: python -m mypy --ignore-missing-imports semantic_release
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v2