Skip to content

Commit

Permalink
TST: workaround src layout ?
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Sep 8, 2023
1 parent f4c2915 commit 0f04c30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Build
# installing in editable mode to allow coverage + src layout
run: |
python -m pip install --upgrade pip
python -m pip install .
python -m pip install --editable .
python -m pip install --requirement requirements/tests.txt
- name: Test
Expand Down
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,9 @@ known-first-party = ["wxc"]

[tool.coverage.paths]
source = [
"/home/runner/work/wxc",
"/Users/runner/work/wxc",
"/home/runner/work/src/wxc",
"/Users/runner/work/src/wxc",
"D:\\a\\wxc",
"src/wxc",
"**/site-packages/wxc",
]

[tool.coverage.report]
Expand Down

0 comments on commit 0f04c30

Please sign in to comment.