Skip to content

Commit

Permalink
added coverage for generating more reports.
Browse files Browse the repository at this point in the history
  • Loading branch information
vogt31337 committed Jun 25, 2024
1 parent 19b9e71 commit 85422d8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/run_tests_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,18 @@ jobs:
if: ${{ matrix.python-version == '3.11' }}
run: |
python -m pip install numba
python -m pytest
- name: Test with pytest and Codecov
python -m pytest -n=auto
- name: Test with pytest, Codecov and Coverage
if: ${{ matrix.python-version == '3.9' }}
run: |
python -m pip install pytest-cov
python -m pytest --cov=./ --cov-report=xml
python -m pip install pytest-cov coverage
coverage run -m pytest --nbmake -n=auto --cov=./ --cov-report=xml
- name: Upload coverage to Codacy
if: ${{ matrix.python-version == '3.9' && matrix.os == 'ubuntu-latest'}}
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
run: bash <(curl -Ls https://coverage.codacy.com/get.sh)
run: |
bash <(curl -Ls https://coverage.codacy.com/get.sh)
- name: Upload coverage to Codecov
if: ${{ matrix.python-version == '3.9' }}
uses: codecov/codecov-action@v4
Expand Down

0 comments on commit 85422d8

Please sign in to comment.