Mercurial > p > roundup > code
comparison .github/workflows/ci-test.yml @ 7194:8dc5b3739367
Prevent github actions from running if commit includes 'no-github-ci'
I'm geting tired of cancelling the github actions while trying to get
travis-ci working.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 27 Feb 2023 01:36:09 -0500 |
| parents | b036e4c8df4d |
| children | 48b76dcbcb86 |
comparison
equal
deleted
inserted
replaced
| 7193:e621c0da09c2 | 7194:8dc5b3739367 |
|---|---|
| 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 | |
| 43 if: "!contains(github.event.head_commit.message, 'no-github-ci')" | |
| 42 | 44 |
| 43 strategy: | 45 strategy: |
| 44 fail-fast: false | 46 fail-fast: false |
| 45 max-parallel: 4 | 47 max-parallel: 4 |
| 46 matrix: | 48 matrix: |
| 261 | 263 |
| 262 # in parallel build codecov requires a finish step | 264 # in parallel build codecov requires a finish step |
| 263 finish: | 265 finish: |
| 264 needs: test | 266 needs: test |
| 265 runs-on: ubuntu-latest | 267 runs-on: ubuntu-latest |
| 268 | |
| 269 if: "!contains(github.event.head_commit.message, 'no-github-ci')" | |
| 270 | |
| 266 steps: | 271 steps: |
| 267 - name: Coveralls Finished | 272 - name: Coveralls Finished |
| 268 uses: coverallsapp/github-action@0363cd28f449b7e5d3b6c6d269d31fe7c1201b68 # master | 273 uses: coverallsapp/github-action@0363cd28f449b7e5d3b6c6d269d31fe7c1201b68 # master |
| 269 with: | 274 with: |
| 270 github-token: ${{ secrets.github_token }} | 275 github-token: ${{ secrets.github_token }} |
