fix: add --cov flags to Windows CI pytest command, fixes #9418

This commit is contained in:
Mrityunjay Raj 2026-02-28 06:41:17 +05:30
parent eb82eeba05
commit 6439b73c00

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() }}