Skip to content

Commit 24c89e4

Browse files
committed
Relative paths in coverage
1 parent 55f3795 commit 24c89e4

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,17 @@ jobs:
6767
uses: actions/upload-artifact@v4
6868
with:
6969
name: coverage-${{ matrix.os }}
70-
path: .coverage-${{ matrix.os }}
70+
path: .coverage.${{ matrix.os }}
7171
include-hidden-files: true
7272

7373
combine-coverage:
7474
needs: tests
75-
name: combine and report test coverage
75+
name: report test coverage
7676
runs-on: ubuntu-latest
7777
permissions:
78-
# new comments in pull requests
78+
# new coverage reports in pull requests
7979
pull-requests: write
80-
# permissions for pushing to python-coverage-comment-action branch
81-
# for editing existing comments
80+
# pushing to python-coverage-comment-action branch for editing existing comments
8281
contents: write
8382

8483
steps:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ testpaths = ["tests"]
6666

6767
[tool.coverage.run]
6868
parallel = true
69+
relative_files = true
6970
command_line = "--module pytest --verbose tests/"
7071
source = ["src", "tests"]
7172
omit = ["tests/conftest.py"]

0 commit comments

Comments
 (0)