chore(deps): update dependency mypy to v1.13.0 #1092
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tox tests | |
on: | |
pull_request: | |
push: | |
branches: master | |
jobs: | |
py39: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
- name: Install Tox | |
run: pip install tox | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
- name: Run Tox | |
run: tox -e py39 | |
py312: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install Tox | |
run: pip install tox | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
- name: Run Tox | |
run: tox -e py312 | |
static: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install Tox | |
run: pip install tox | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
- name: Run Tox | |
run: tox -e static | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install Tox | |
run: pip install tox | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
- name: Run Tox | |
run: tox -e cov | |
- name: Install pytest cov | |
run: poetry run python -m pip install pytest-cov | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true | |
verbose: true | |
bandit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install Tox | |
run: pip install tox | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
- name: Run Tox | |
run: tox -e bandit | |
bandit-exitzero: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install Tox | |
run: pip install tox | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
- name: Run Tox | |
run: tox -e bandit-exitzero |