Skip to content

Commit

Permalink
Merge pull request #46 from GertjanBisschop/update_test_workflow
Browse files Browse the repository at this point in the history
update test workflow
  • Loading branch information
GertjanBisschop authored Jul 12, 2023
2 parents b607745 + 26bc6ed commit 318d3d7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,16 @@ jobs:
run: |
python3 -m pip install --upgrade pip
pip install pytest
pip install pytest-cov
pip install pytest-xdist
pip install -r requirements/CI-tests-pip/requirements.txt
- name: Test with pytest
run: |
pytest
pytest --cov=tstrait --cov-report=xml --cov-branch -n 0 tests
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Delete coverage
run: |
rm .coverage

0 comments on commit 318d3d7

Please sign in to comment.