Skip to content

Commit

Permalink
Attempt to append coverage files from numba and non-numba tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
johannvk committed Nov 18, 2024
1 parent e112f96 commit 383785e
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,7 @@ jobs:
echo "NUMBA_DISABLE_JIT=1" >> $GITHUB_ENV
- name: Test with pytest
run: |
pytest --cov --cov-report=xml
# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v3
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

pytest --cov=skchange --cov-report=xml --cov-append
pytests-no-numba:
name: pytests-no-numba
Expand All @@ -64,8 +59,15 @@ jobs:
python -m pip install pytest
- name: Test with pytest
run: |
pytest --cov --cov-report=xml --cov-append
pytest --cov=skchange --cov-report=xml --cov-append
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

upload-code-cov:
needs: [pytests-numba, pytests-no-numba]
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 383785e

Please sign in to comment.