Merge pull request #9419 from mr-raj12/ci-windows-coverage

fix: add --cov flags to Windows CI pytest command, fixes #9418
This commit is contained in:
TW 2026-03-04 17:34:06 +01:00 committed by GitHub
commit 42196289be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -659,7 +659,7 @@ jobs:
export PATH="$GITHUB_WORKSPACE/dist/binary/borg-dir:$PATH"
borg.exe -V
. env/bin/activate
python -m pytest -n4 --benchmark-skip -vv -rs -k "not remote" --junitxml=test-results.xml
python -m pytest -n4 --benchmark-skip -vv -rs -k "not remote" --cov=borg --cov-config=pyproject.toml --junitxml=test-results.xml
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
@ -674,6 +674,7 @@ jobs:
files: test-results.xml
- name: Upload coverage to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v5
env:
OS: ${{ runner.os }}