Skip to content

Commit

Permalink
remove all pytest-cov related options to pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
jcapriot committed Mar 11, 2024
1 parent 24498d6 commit a8e5418
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
include:
- os: ubuntu-latest
version: "3.12"
coverage: true
coverage: ${{ true }}

steps:
- uses: actions/checkout@v4
Expand All @@ -52,12 +52,12 @@ jobs:
- name: Install Our Package
run: |
python -m pip install --no-build-isolation --verbose --editable . --config-setting=compile-args=-v ${{ matrix.coverage && '--config-settings=setup-args="-Dcy_coverage=true"' || ''}}
python -m pip install --no-build-isolation --verbose --editable . --config-setting=compile-args=-v ${{ matrix.coverage && '--config-settings=setup-args="-Dcy_coverage=true"' || ' '}}
conda list
- name: Run Tests
run: |
${{ matrix.coverage && 'coverage run -m' || '' }} pytest --cov-config=.coveragerc --cov-report=xml --cov=pydiso -s -v
${{ matrix.coverage && 'coverage run -m' || ' ' }}pytest -s -v
- name: Upload coverage
if: ${{ matrix.coverage }}
Expand Down

0 comments on commit a8e5418

Please sign in to comment.