diff --git a/.github/workflows/hsp2-pip-install-test.yml b/.github/workflows/hsp2-pip-install-test.yml index b7c51e05..64992a86 100644 --- a/.github/workflows/hsp2-pip-install-test.yml +++ b/.github/workflows/hsp2-pip-install-test.yml @@ -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: @@ -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