Skip to content

Commit

Permalink
Fix coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
paugier committed Feb 24, 2024
1 parent c9c6af4 commit 4234a6a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 \
libxcb-xinerama0 libxcb-xfixes0 xdotool
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
Expand All @@ -42,3 +42,4 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false # optional (default = false)
verbose: true # optional (default = false)
files: .coverage/coverage.xml
2 changes: 1 addition & 1 deletion .github/workflows/ci-pixi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.11.1
Expand Down
2 changes: 2 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ def test(session):
*session.posargs,
env=TEST_ENV_VARS,
)
if "--cov" in session.posargs:
session.run("coverage", "xml")


@no_venv_session(name="test-cov")
Expand Down

0 comments on commit 4234a6a

Please sign in to comment.