Skip to content

Commit

Permalink
Write coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
KarelZe committed Dec 21, 2023
1 parent c4a34f1 commit 46d9a62
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.12"]
python-version: [3.x]
steps:
- name: Git clone
uses: actions/checkout@v4
Expand All @@ -19,6 +19,10 @@ jobs:
python -m pip install --upgrade pip setuptools
pip install .[test]
- name: Test with pytest
run: pytest -v --cov=src tests/
run: pytest -v tests/ --cov=src --cov-report=xml
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3
with:
env_vars: OS,PYTHON
fail_ci_if_error: true
verbose: true

0 comments on commit 46d9a62

Please sign in to comment.