Skip to content

Commit

Permalink
Add pytest version to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
gerlero committed Feb 10, 2024
1 parent b80bf5f commit f80f7af
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
pytest-version: ["6.*.*", "7.*.*", "8.*.*"]
exclude:
- python-version: "3.7"
pytest-version: "8.*.*"

steps:
- uses: actions/checkout@v3
Expand All @@ -27,7 +31,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest==7.0.0
python -m pip install pytest==${{ matrix.pytest-version}}
python -m pip install .
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
Expand Down

0 comments on commit f80f7af

Please sign in to comment.