Skip to content

Commit 7d7f58f

Browse files
committed
Run coveralls push only if all builds succeed.
I wanted to run the coveralls push even if there was only one successful run. So I forced it to run even if there was an error in one of the paralle workflows. However coveralls push was succeeding and setting the job status to ok even though I want it to be failing. It appears I can't get what I want in an easy manner so don't upload any data to coveralls if any CI test job fails. I will still have the successful jobs uploaded to codecov at least.
1 parent b3bf1b8 commit 7d7f58f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
# run the finalizer for coveralls even if one or more
3636
# matrix runs fail.
37-
continue-on-error: true
37+
# continue-on-error: true
3838

3939
#runs-on: ubuntu-latest
4040
# use below if running on multiple OS's.
@@ -260,7 +260,7 @@ jobs:
260260
# -f scripts/Docker/Dockerfile .
261261

262262

263-
# in parallel build codecov requires a finish step
263+
# in parallel build coveralls requires a finish step
264264
finish:
265265
needs: test
266266
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)