Skip to content

Commit bed149a

Browse files
committed
Even though the path is correct, these files are not being uploaded because they are hidden
1 parent b005aaa commit bed149a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/pytest.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ jobs:
7878
path: |
7979
atomsci/ddm/test/unit/.coverage*
8080
atomsci/modac/test/unit/.coverage*
81+
include-hidden-files: true
82+
if-no-files-found: error
8183

8284
pytest-integrative-1:
8385
runs-on: ubuntu-24.04
@@ -145,6 +147,8 @@ jobs:
145147
with:
146148
name: coverage-pytest-integrative-1
147149
path: atomsci/ddm/test/integrative/**/.coverage*
150+
include-hidden-files: true
151+
if-no-files-found: error
148152

149153
pytest-integrative-2:
150154
runs-on: ubuntu-24.04
@@ -212,6 +216,8 @@ jobs:
212216
with:
213217
name: coverage-pytest-integrative-2
214218
path: atomsci/ddm/test/integrative/**/.coverage*
219+
include-hidden-files: true
220+
if-no-files-found: error
215221

216222
pytest-integrative-3:
217223
runs-on: ubuntu-24.04
@@ -279,6 +285,8 @@ jobs:
279285
with:
280286
name: coverage-pytest-integrative-3
281287
path: atomsci/ddm/test/integrative/**/.coverage*
288+
include-hidden-files: true
289+
if-no-files-found: error
282290

283291
pytest-integrative-4:
284292
runs-on: ubuntu-24.04
@@ -346,6 +354,8 @@ jobs:
346354
with:
347355
name: coverage-pytest-integrative-4
348356
path: atomsci/ddm/test/integrative/**/.coverage*
357+
include-hidden-files: true
358+
if-no-files-found: error
349359

350360
coverage-merge:
351361
runs-on: ubuntu-24.04
@@ -375,7 +385,7 @@ jobs:
375385
find coverage-reports -name ".coverage*" -type f
376386
377387
# Combine all coverage files
378-
coverage combine coverage-reports/**/.coverage*
388+
coverage combine $(find coverage-reports -name ".coverage*" -type f -print)
379389
380390
# Generate XML report for codecov
381391
coverage xml

0 commit comments

Comments
 (0)