mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +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 docs
|
||||||
poe test-with-coverage
|
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' }}
|
- if: ${{ env.IS_MAIN_PYTHON == 'true' }}
|
||||||
name: Store the coverage report
|
name: Store the coverage report
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,13 @@
|
||||||
cache_dir = /tmp/pytest_cache
|
cache_dir = /tmp/pytest_cache
|
||||||
# slightly more verbose output
|
# slightly more verbose output
|
||||||
console_output_style = count
|
console_output_style = count
|
||||||
|
# pretty-print test names in the Codecov U
|
||||||
|
junit_family = legacy
|
||||||
addopts =
|
addopts =
|
||||||
# show all skipped/failed/xfailed tests in the summary except passed
|
# show all skipped/failed/xfailed tests in the summary except passed
|
||||||
-ra
|
-ra
|
||||||
--strict-config
|
--strict-config
|
||||||
|
--junitxml=.reports/pytest.xml
|
||||||
markers =
|
markers =
|
||||||
on_lyrics_update: mark a test to run only after lyrics source code is updated
|
on_lyrics_update: mark a test to run only after lyrics source code is updated
|
||||||
integration_test: mark a test as an integration test
|
integration_test: mark a test as an integration test
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue