mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 00:24:25 +01:00
Upload test results to codecov
This commit is contained in:
parent
24ae1a765b
commit
84df87c665
2 changed files with 9 additions and 0 deletions
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
|
|
@ -64,6 +64,12 @@ jobs:
|
|||
poe docs
|
||||
poe test-with-coverage
|
||||
|
||||
- if: ${{ !cancelled() }}
|
||||
name: Upload test results to Codecov
|
||||
uses: codecov/test-results-action@v1
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
- if: ${{ env.IS_MAIN_PYTHON == 'true' }}
|
||||
name: Store the coverage report
|
||||
uses: actions/upload-artifact@v4
|
||||
|
|
|
|||
|
|
@ -3,10 +3,13 @@
|
|||
cache_dir = /tmp/pytest_cache
|
||||
# slightly more verbose output
|
||||
console_output_style = count
|
||||
# pretty-print test names in the Codecov U
|
||||
junit_family = legacy
|
||||
addopts =
|
||||
# show all skipped/failed/xfailed tests in the summary except passed
|
||||
-ra
|
||||
--strict-config
|
||||
--junitxml=.reports/pytest.xml
|
||||
markers =
|
||||
on_lyrics_update: mark a test to run only after lyrics source code is updated
|
||||
integration_test: mark a test as an integration test
|
||||
|
|
|
|||
Loading…
Reference in a new issue