Skip to content

Commit ce4e237

Browse files
committed
speed up tests not under coverage
1 parent a487020 commit ce4e237

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/hsp2-pip-install-test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
include:
3939
- python-version: "3.11"
4040
pandas-version: "pandas>2.0"
41+
coverage: true
4142
- python-version: "3.11"
4243
pandas-version: "pandas>1.5,<2.0"
4344
steps:
@@ -51,12 +52,14 @@ jobs:
5152
run: |
5253
# install the hsp2 executable
5354
pip install .[dev]
54-
- if: ${{ matrix.pandas-version }}
55+
- if: matrix.pandas-version
5556
run: pip install "${{ matrix.pandas-version }}"
56-
- name: Test with pytest
57+
- if: matrix.coverage
5758
run: |
5859
# python coverage
5960
NUMBA_DISABLE_JIT=1 pytest --cov --cov-branch --cov-report term-missing
61+
- if: ! matrix.coverage
62+
run: pytest
6063

6164
test-cmd:
6265
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)