Skip to content

Commit 8cf163c

Browse files
authored
Enable hidden file uploads for coverage (#1370)
* Enable hidden file uploads for coverage * Enable failures on coverage upload * Add failure to uploads in deploy job as well * Correct setting of fail to error
1 parent 7800c21 commit 8cf163c

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

.github/workflows/deploy-python.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
with:
5454
name: ${{ github.job }}-${{ matrix.wheel }}
5555
path: ./wheelhouse/*.whl
56+
if-no-files-found: error
5657
retention-days: 1
5758

5859
build-linux-py3:
@@ -98,6 +99,7 @@ jobs:
9899
with:
99100
name: ${{ github.job }}-${{ matrix.wheel }}
100101
path: ./wheelhouse/*.whl
102+
if-no-files-found: error
101103
retention-days: 1
102104

103105
build-sdist:
@@ -130,6 +132,7 @@ jobs:
130132
path: |
131133
./dist/*.tar.gz
132134
./dist/*.tar.gz.md5
135+
if-no-files-found: error
133136
retention-days: 1
134137

135138
deploy:

.github/workflows/tests.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ jobs:
161161
with:
162162
name: coverage-${{ github.job }}-${{ strategy.job-index }}
163163
path: ./**/.coverage.*
164+
include-hidden-files: true
165+
if-no-files-found: error
164166
retention-days: 1
165167

166168
grpc:
@@ -210,6 +212,8 @@ jobs:
210212
with:
211213
name: coverage-${{ github.job }}-${{ strategy.job-index }}
212214
path: ./**/.coverage.*
215+
include-hidden-files: true
216+
if-no-files-found: error
213217
retention-days: 1
214218

215219
nginx:
@@ -273,6 +277,8 @@ jobs:
273277
with:
274278
name: coverage-${{ github.job }}-${{ strategy.job-index }}
275279
path: ./**/.coverage.*
280+
include-hidden-files: true
281+
if-no-files-found: error
276282
retention-days: 1
277283

278284
postgres16:
@@ -337,6 +343,8 @@ jobs:
337343
with:
338344
name: coverage-${{ github.job }}-${{ strategy.job-index }}
339345
path: ./**/.coverage.*
346+
include-hidden-files: true
347+
if-no-files-found: error
340348
retention-days: 1
341349

342350
postgres9:
@@ -401,6 +409,8 @@ jobs:
401409
with:
402410
name: coverage-${{ github.job }}-${{ strategy.job-index }}
403411
path: ./**/.coverage.*
412+
include-hidden-files: true
413+
if-no-files-found: error
404414
retention-days: 1
405415

406416
mssql:
@@ -468,6 +478,8 @@ jobs:
468478
with:
469479
name: coverage-${{ github.job }}-${{ strategy.job-index }}
470480
path: ./**/.coverage.*
481+
include-hidden-files: true
482+
if-no-files-found: error
471483
retention-days: 1
472484

473485
mysql:
@@ -535,6 +547,8 @@ jobs:
535547
with:
536548
name: coverage-${{ github.job }}-${{ strategy.job-index }}
537549
path: ./**/.coverage.*
550+
include-hidden-files: true
551+
if-no-files-found: error
538552
retention-days: 1
539553

540554
rediscluster:
@@ -638,6 +652,8 @@ jobs:
638652
with:
639653
name: coverage-${{ github.job }}-${{ strategy.job-index }}
640654
path: ./**/.coverage.*
655+
include-hidden-files: true
656+
if-no-files-found: error
641657
retention-days: 1
642658

643659
redis:
@@ -700,6 +716,8 @@ jobs:
700716
with:
701717
name: coverage-${{ github.job }}-${{ strategy.job-index }}
702718
path: ./**/.coverage.*
719+
include-hidden-files: true
720+
if-no-files-found: error
703721
retention-days: 1
704722

705723
solr:
@@ -764,6 +782,8 @@ jobs:
764782
with:
765783
name: coverage-${{ github.job }}-${{ strategy.job-index }}
766784
path: ./**/.coverage.*
785+
include-hidden-files: true
786+
if-no-files-found: error
767787
retention-days: 1
768788

769789
memcached:
@@ -826,6 +846,8 @@ jobs:
826846
with:
827847
name: coverage-${{ github.job }}-${{ strategy.job-index }}
828848
path: ./**/.coverage.*
849+
include-hidden-files: true
850+
if-no-files-found: error
829851
retention-days: 1
830852

831853
rabbitmq:
@@ -889,6 +911,8 @@ jobs:
889911
with:
890912
name: coverage-${{ github.job }}-${{ strategy.job-index }}
891913
path: ./**/.coverage.*
914+
include-hidden-files: true
915+
if-no-files-found: error
892916
retention-days: 1
893917

894918
kafka:
@@ -963,6 +987,8 @@ jobs:
963987
with:
964988
name: coverage-${{ github.job }}-${{ strategy.job-index }}
965989
path: ./**/.coverage.*
990+
include-hidden-files: true
991+
if-no-files-found: error
966992
retention-days: 1
967993

968994
mongodb3:
@@ -1025,6 +1051,8 @@ jobs:
10251051
with:
10261052
name: coverage-${{ github.job }}-${{ strategy.job-index }}
10271053
path: ./**/.coverage.*
1054+
include-hidden-files: true
1055+
if-no-files-found: error
10281056
retention-days: 1
10291057

10301058
mongodb8:
@@ -1087,6 +1115,8 @@ jobs:
10871115
with:
10881116
name: coverage-${{ github.job }}-${{ strategy.job-index }}
10891117
path: ./**/.coverage.*
1118+
include-hidden-files: true
1119+
if-no-files-found: error
10901120
retention-days: 1
10911121

10921122
cassandra:
@@ -1154,6 +1184,8 @@ jobs:
11541184
with:
11551185
name: coverage-${{ github.job }}-${{ strategy.job-index }}
11561186
path: ./**/.coverage.*
1187+
include-hidden-files: true
1188+
if-no-files-found: error
11571189
retention-days: 1
11581190

11591191
elasticsearchserver07:
@@ -1218,6 +1250,8 @@ jobs:
12181250
with:
12191251
name: coverage-${{ github.job }}-${{ strategy.job-index }}
12201252
path: ./**/.coverage.*
1253+
include-hidden-files: true
1254+
if-no-files-found: error
12211255
retention-days: 1
12221256

12231257
elasticsearchserver08:
@@ -1283,6 +1317,8 @@ jobs:
12831317
with:
12841318
name: coverage-${{ github.job }}-${{ strategy.job-index }}
12851319
path: ./**/.coverage.*
1320+
include-hidden-files: true
1321+
if-no-files-found: error
12861322
retention-days: 1
12871323

12881324
firestore:
@@ -1352,6 +1388,8 @@ jobs:
13521388
with:
13531389
name: coverage-${{ github.job }}-${{ strategy.job-index }}
13541390
path: ./**/.coverage.*
1391+
include-hidden-files: true
1392+
if-no-files-found: error
13551393
retention-days: 1
13561394

13571395
valkey:
@@ -1414,4 +1452,6 @@ jobs:
14141452
with:
14151453
name: coverage-${{ github.job }}-${{ strategy.job-index }}
14161454
path: ./**/.coverage.*
1455+
include-hidden-files: true
1456+
if-no-files-found: error
14171457
retention-days: 1

0 commit comments

Comments
 (0)