Skip to content

Commit

Permalink
Merge pull request #152 from ESSS/fb-ETK-1738-upload-codecov-config
Browse files Browse the repository at this point in the history
[ETK-1738] Update codecov settings to upload coverage
  • Loading branch information
lincrosenbach authored Jul 30, 2024
2 parents dd7f0c3 + ef3de50 commit 29d0656
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,8 @@ jobs:
- name: Test
run: |
tox -e py
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ isolated_build = true
[testenv]
extras = testing
commands =
pytest --cov={envsitepackagesdir}/barril --pyargs barril {posargs} --doctest-modules --color=yes
codecov
pytest --cov={envsitepackagesdir}/barril --cov-report=xml --pyargs barril {posargs} --doctest-modules

[testenv:docs]
skipsdist = True
Expand Down

0 comments on commit 29d0656

Please sign in to comment.