Skip to content

Commit

Permalink
Merge pull request haskell#10462 from geekosaur/dont-ignore-old-ghcs-…
Browse files Browse the repository at this point in the history
…fails

kill a `continue-on-error`
  • Loading branch information
mergify[bot] authored Oct 15, 2024
2 parents 3dcc771 + b5ad3c4 commit 5124e8a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,12 @@ jobs:
echo End "$test"
done
exit $rc
# The above ensures all the tests get run, for a single platform+ghc.
# Trying to ensure they run for *all* combinations but still fail
# at the end seems to be extremely difficult at best. It's doable,
# but it requires a continuously growing stack of conditions and
# one possibly nightmarish final conditional. 'fail-fast' gets us
# partway there, at least, but is still imperfect.

validate-old-ghcs:
name: Validate old ghcs ${{ matrix.extra-ghc }}
Expand Down Expand Up @@ -320,8 +326,9 @@ jobs:
- name: "Validate lib-suite-extras --extra-hc ghc-${{ matrix.extra-ghc }}"
env:
EXTRA_GHC: ghc-${{ matrix.extra-ghc }}
continue-on-error: true
run: sh validate.sh ${{ env.COMMON_FLAGS }} --lib-only -s lib-suite-extras --extra-hc "${{ env.EXTRA_GHC }}"
# See the comment above about running all tests but still failing if one
# of them does; it also applies here.

build-alpine:
name: Build statically linked using alpine
Expand Down

0 comments on commit 5124e8a

Please sign in to comment.