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 f0ac3b0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .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 @@ -51,12 +52,14 @@ jobs:
run: |
# install the hsp2 executable
pip install .[dev]
- if: ${{ matrix.pandas-version }}
- 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 f0ac3b0

Please sign in to comment.