Skip to content

Commit 8a1fa1f

Browse files
committed
combine macos and ubuntu files
1 parent c7fdd02 commit 8a1fa1f

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/all_tests_nnpdf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,4 @@ jobs:
115115
- name: Merge and show
116116
run: |
117117
coverage combine reports/**/.coverage
118-
coverage report
118+
coverage report -i

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,15 @@ addopts = "--disable-warnings"
152152

153153
[tool.coverage.run]
154154
omit = [
155+
"*/local*",
156+
"*/rule*",
155157
"deprecated_functions.py",
156158
"*/nnpdf_data/commondata/*",
157159
"*/nnpdf_data/filter_utils/*",
158160
]
161+
[tool.coverage.paths]
162+
cipaths = [ # In order to combine files from both the ubuntu and macos runners
163+
"./", # CI working directory
164+
"/Users/runner/work/nnpdf/nnpdf",
165+
"/home/runner/work/nnpdf/nnpdf"
166+
]

0 commit comments

Comments
 (0)