Skip to content

Commit

Permalink
speed up tests not under coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
austinorr committed May 5, 2024
1 parent a487020 commit 10fcb7a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/hsp2-pip-install-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
include:
- python-version: "3.11"
pandas-version: "pandas>2.0"
coverage: true
- python-version: "3.11"
pandas-version: "pandas>1.5,<2.0"
steps:
Expand All @@ -53,10 +54,12 @@ jobs:
pip install .[dev]
- if: ${{ matrix.pandas-version }}
run: pip install "${{ matrix.pandas-version }}"
- name: Test with pytest
- if: ${{ matrix.coverage }}
run: |
# python coverage
NUMBA_DISABLE_JIT=1 pytest --cov --cov-branch --cov-report term-missing
- if: ${{ ! matrix.coverage }}
run: pytest

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

0 comments on commit 10fcb7a

Please sign in to comment.