Skip to content

Commit

Permalink
Merge pull request #290 from wzshiming/ci/concurrency
Browse files Browse the repository at this point in the history
Update concurrency of test
  • Loading branch information
wzshiming authored Feb 17, 2023
2 parents 50ad3c7 + e701357 commit 8f5cba3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ env:
DOCKER_CLI_EXPERIMENTAL: "enabled"
CGO_ENABLED: "0"

# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
test-build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -85,11 +90,6 @@ jobs:
./hack/e2e-test.sh kwok-with-cni/kwok-with-cni
test-kwokctl:
# https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-${{ matrix.os }}-${{ matrix.kwokctl-runtime }}
cancel-in-progress: true

# https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs
strategy:
fail-fast: false
Expand Down

0 comments on commit 8f5cba3

Please sign in to comment.