mirror of
https://github.com/beetbox/beets.git
synced 2026-02-22 23:33:50 +01:00
Try fixing coverage
This commit is contained in:
parent
49e6012398
commit
30d345dd7d
1 changed files with 23 additions and 3 deletions
26
.github/workflows/ci.yaml
vendored
26
.github/workflows/ci.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue