Skip to content

Commit

Permalink
Separate CI workflow to check coverage on 3.11+
Browse files Browse the repository at this point in the history
  • Loading branch information
daffidwilde committed Nov 28, 2023
1 parent fc341af commit baf01f7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install ".[test]" pytest-sugar
- name: Run tests
- name: Run tests (<3.9)
if: matrix.python-version < 3.9
run: |
python -m pytest --cov=centhesus tests
- name: Run tests (>=3.11)
if: matrix.python-version >= 3.11
run: |
python -m pytest --cov=centhesus --cov-fail-under=100 tests
- name: Install and run linters
Expand Down

0 comments on commit baf01f7

Please sign in to comment.