Skip to content

Commit

Permalink
Merge pull request #2458 from cta-observatory/fix_coverage
Browse files Browse the repository at this point in the history
Fix coverage report not being found by codecov
  • Loading branch information
maxnoe authored Nov 17, 2023
2 parents 195a942 + 8acee47 commit 7751fc1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,17 @@ jobs:
run: |
cd $(mktemp -d)
pytest -n auto --dist loadscope \
--cov --cov-report=xml \
--cov --cov-report=xml:$GITHUB_WORKSPACE/coverage.xml \
--doctest-modules --doctest-glob='*.rst' \
--ignore=$HOME/work/ctapipe/ctapipe/docs/conf.py \
--pyargs ctapipe $HOME/work/ctapipe/ctapipe/docs
--ignore=$GITHUB_WORKSPACE/docs/conf.py \
--pyargs ctapipe $GITHUB_WORKSPACE/docs
ctapipe-info --version
- uses: codecov/codecov-action@v3
if: contains(matrix.extra-args, 'codecov')
with:
fail_ci_if_error: true

docs:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 7751fc1

Please sign in to comment.