Skip to content

Commit

Permalink
SNOW-880396: Do not cancel other matrix builds when one fails (#870)
Browse files Browse the repository at this point in the history
* SNOW-880396: Do not cancel other matrix builds when one fails
* SNOW-880396: Cancel builds when new code in branch appears
  • Loading branch information
sfc-gh-dprzybysz authored Aug 1, 2023
1 parent ab65c9e commit 4034084
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,16 @@ on:
tags:
description: "Test scenario tags"

concurrency:
# older builds for the same pull request numer or branch should be cancelled
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build-test-linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
cloud: [ 'AWS', 'AZURE', 'GCP' ]
go: [ '1.20', '1.19' ]
Expand All @@ -46,6 +52,7 @@ jobs:
build-test-mac:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
cloud: [ 'AWS', 'AZURE', 'GCP' ]
go: [ '1.20', '1.19' ]
Expand All @@ -68,6 +75,7 @@ jobs:
build-test-windows:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
cloud: [ 'AWS', 'AZURE', 'GCP' ]
go: [ '1.20', '1.19' ]
Expand Down

0 comments on commit 4034084

Please sign in to comment.