Skip to content

Commit

Permalink
CI: test on newer versions of Python too
Browse files Browse the repository at this point in the history
Signed-off-by: Aarni Koskela <[email protected]>
  • Loading branch information
akx committed Dec 21, 2023
1 parent a2d01de commit 3dab8df
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,27 @@ jobs:
fail-fast: false
max-parallel: 4
matrix:
python: [3.7, 3.8, 3.9]
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: pip
cache-dependency-path: |
tox.ini
setup.py
- run: pip install tox
- if: matrix.python == '3.7'
run: TOXENV=py37 tox
- if: matrix.python == '3.8'
run: TOXENV=py38 tox
- if: matrix.python == '3.9'
run: TOXENV=py39 tox
- if: matrix.python == '3.10'
run: TOXENV=py310 tox
- if: matrix.python == '3.11'
run: TOXENV=py311 tox
- if: matrix.python == '3.12'
run: TOXENV=py312 tox
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{37,38,39}
envlist = py{37,38,39,310,311,312}

[testenv]
whitelist_externals = echo make
Expand Down

0 comments on commit 3dab8df

Please sign in to comment.