Skip to content

Commit

Permalink
Ensure the workflow run fail if any job fails, but remaining matrix c…
Browse files Browse the repository at this point in the history
…onfigurations run if one matrix configuration fails. (#627)
  • Loading branch information
wyk9787 authored May 4, 2021
1 parent a266312 commit 3a04a4d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ env:
jobs:
test-mac:
runs-on: ${{ matrix.os }}
continue-on-error: true
defaults:
run:
working-directory: ${{ env.WORKING_DIR }}
strategy:
fail-fast: false
matrix:
go: ['1.15', '1.16', 'tip']
# Supported macOS versions can be found in
Expand Down Expand Up @@ -82,11 +82,11 @@ jobs:

test-linux:
runs-on: ${{ matrix.os }}
continue-on-error: true
defaults:
run:
working-directory: ${{ env.WORKING_DIR }}
strategy:
fail-fast: false
matrix:
go: ['1.15', '1.16', 'tip']
os: ['ubuntu-20.04', 'ubuntu-18.04', 'ubuntu-16.04']
Expand Down Expand Up @@ -143,6 +143,7 @@ jobs:
test-windows:
runs-on: windows-2019
strategy:
fail-fast: false
matrix:
go: ['1.15', '1.16']
steps:
Expand Down

0 comments on commit 3a04a4d

Please sign in to comment.