Mercurial > p > roundup > code
comparison .github/workflows/ci-test.yml @ 7390:399093a75afa
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.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 24 May 2023 10:43:42 -0400 |
| parents | 5ecaebc08447 |
| children | 531ca3b94b68 |
comparison
equal
deleted
inserted
replaced
| 7371:a210f4437b49 | 7390:399093a75afa |
|---|---|
| 32 test: | 32 test: |
| 33 name: CI build test | 33 name: CI build test |
| 34 | 34 |
| 35 # run the finalizer for coveralls even if one or more | 35 # run the finalizer for coveralls even if one or more |
| 36 # matrix runs fail. | 36 # matrix runs fail. |
| 37 continue-on-error: true | 37 # continue-on-error: true |
| 38 | 38 |
| 39 #runs-on: ubuntu-latest | 39 #runs-on: ubuntu-latest |
| 40 # use below if running on multiple OS's. | 40 # use below if running on multiple OS's. |
| 41 runs-on: ${{ matrix.os }} | 41 runs-on: ${{ matrix.os }} |
| 42 | 42 |
| 258 # run: | | 258 # run: | |
| 259 # docker build -t roundup-app-rel --build-arg="source=pypi" \ | 259 # docker build -t roundup-app-rel --build-arg="source=pypi" \ |
| 260 # -f scripts/Docker/Dockerfile . | 260 # -f scripts/Docker/Dockerfile . |
| 261 | 261 |
| 262 | 262 |
| 263 # in parallel build codecov requires a finish step | 263 # in parallel build coveralls requires a finish step |
| 264 finish: | 264 finish: |
| 265 needs: test | 265 needs: test |
| 266 runs-on: ubuntu-latest | 266 runs-on: ubuntu-latest |
| 267 | 267 |
| 268 if: "!contains(github.event.head_commit.message, 'no-github-ci')" | 268 if: "!contains(github.event.head_commit.message, 'no-github-ci')" |
