Skip to content

Commit

Permalink
Try fixing coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
snejus committed Jun 15, 2024
1 parent 49e6012 commit 30d345d
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,26 @@ jobs:
run: poe test

- if: ${{ env.IS_MAIN_PYTHON == 'true' }}
name: Upload code coverage
continue-on-error: true
run: poetry run codecov
name: Store the coverage report
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: .reports/coverage.xml

upload-coverage:
name: Upload coverage report
needs: test
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Get the coverage report
uses: actions/download-artifact@v4
with:
name: coverage-report

- name: Upload code coverage
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
use_oidc: true

0 comments on commit 30d345d

Please sign in to comment.