Skip to content

Commit

Permalink
ci: run mypy with every python version
Browse files Browse the repository at this point in the history
  • Loading branch information
15r10nk committed Mar 25, 2024
1 parent 66b36c8 commit 48f57ac
Show file tree
Hide file tree
Showing 2 changed files with 190 additions and 127 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,18 @@ on:
jobs:
mypy:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: ${{matrix.python-version}}
architecture: x64
- run: pip install nox==2019.11.9
- run: pip install nox==2022.11.21
- run: pip install poetry==1.2.2
- run: nox --session mypy
- run: nox --session mypy-${{matrix.python-version}}

test:
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit 48f57ac

Please sign in to comment.