Skip to content

Commit

Permalink
ci: Fix job skips (#3378)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty authored Aug 23, 2023
1 parent 66d4dff commit 578a5ca
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -478,9 +478,29 @@ jobs:
# We're currently including `nightly` because I'm not sure whether
# it's always reliable; e.g. `cargo-audit`
allowed-failures: check-links-markdown, nightly
# Easier than writing out every job — and it's our own rules deciding
# whether jobs are skipped or not.
allowed-skips: ${{ toJSON(needs) }}
# We skip jobs deliberately, so we are OK if any are skipped.
#
# Copy-pasted from `needs`, since it needs to be a json list, so `${{
# toJSON(needs) }}` (which is a map) doesn't work.
# https://github.com/re-actors/alls-green/issues/23
allowed-skips: |
[
"build-web",
"check-links-book",
"check-links-markdown",
"lint-megalinter",
"nightly",
"publish-web",
"test-dotnet",
"test-elixir",
"test-java",
"test-js",
"test-lib",
"test-php",
"test-python",
"test-rust",
"test-rust-main"
]
build-prqlc:
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 578a5ca

Please sign in to comment.