Merge pull request #2227 from messense/ci-no-fail-fast
CI: keep going on failure only if `CI-no-fail-fast` label is present
This commit is contained in:
commit
9ef7987f67
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -47,7 +47,8 @@ jobs:
|
||||||
needs: [fmt]
|
needs: [fmt]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false # If one platform fails, allow the rest to keep testing.
|
# If one platform fails, allow the rest to keep testing if `CI-no-fail-fast` label is present
|
||||||
|
fail-fast: ${{ !contains(github.event.pull_request.labels.*.name, 'CI-no-fail-fast') }}
|
||||||
matrix:
|
matrix:
|
||||||
target: [powerpc64le-unknown-linux-gnu, s390x-unknown-linux-gnu, wasm32-wasi]
|
target: [powerpc64le-unknown-linux-gnu, s390x-unknown-linux-gnu, wasm32-wasi]
|
||||||
name: check-${{ matrix.target }}
|
name: check-${{ matrix.target }}
|
||||||
|
@ -79,7 +80,8 @@ jobs:
|
||||||
name: python${{ matrix.python-version }}-${{ matrix.platform.python-architecture }} ${{ matrix.platform.os }} rust-${{ matrix.rust }}
|
name: python${{ matrix.python-version }}-${{ matrix.platform.python-architecture }} ${{ matrix.platform.os }} rust-${{ matrix.rust }}
|
||||||
runs-on: ${{ matrix.platform.os }}
|
runs-on: ${{ matrix.platform.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false # If one platform fails, allow the rest to keep testing.
|
# If one platform fails, allow the rest to keep testing if `CI-no-fail-fast` label is present
|
||||||
|
fail-fast: ${{ !contains(github.event.pull_request.labels.*.name, 'CI-no-fail-fast') }}
|
||||||
matrix:
|
matrix:
|
||||||
rust: [stable]
|
rust: [stable]
|
||||||
python-version: [
|
python-version: [
|
||||||
|
|
Loading…
Reference in a new issue