Skip to content

Commit 54e4b5a

Browse files
authored
Fix CI coverage reporting. (#457)
Package installs require `-e`, so we can correctly attribute the coverage to the different namespace packages.
1 parent 9ee4786 commit 54e4b5a

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.coveragerc

-6
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,5 @@ source_pkgs = varats
88

99
parallel = True
1010

11-
[paths]
12-
source =
13-
varats/varats/
14-
*/site-packages/varats/
15-
*/site-packages/varats-core/
16-
1711
[report]
1812
ignore_errors = True

.github/workflows/ci.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818

1919
steps:
2020
- uses: actions/checkout@v2
21+
with:
22+
fetch-depth: 0
2123

2224
- name: Set up Python ${{ matrix.python-version }}
2325
uses: actions/setup-python@v2
@@ -31,8 +33,8 @@ jobs:
3133
- name: Install dependencies
3234
run: |
3335
python -m pip install --upgrade pip
34-
pip install ./varats-core
35-
pip install ./varats
36+
pip install -e ./varats-core
37+
pip install -e ./varats
3638
pip install -r requirements.txt
3739
pip install codecov
3840
pip install pytest-cov

0 commit comments

Comments
 (0)