Skip to content

Commit

Permalink
CI: List coverage.xml explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
has2k1 committed Feb 19, 2024
1 parent 8ddbcdf commit a137170
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ jobs:
shell: bash
run: |
ls -la
ls -la tests/*
md5sum coverage.xml
- uses: actions/upload-artifact@v3
if: failure()
Expand All @@ -57,10 +58,17 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
name: "py${{ matrix.python-version }}"
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
fail_ci_if_error: true

- name: Debug
shell: bash
run: |
md5sum coverage.xml
cat coverage.xml
lint-and-format:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ codecov:
comment:
behavior: default
branches:
- 'master'
- 'main'

coverage:
round: 'down'
Expand Down

0 comments on commit a137170

Please sign in to comment.