Skip to content

Commit b5ad3c4

Browse files
committed
kill a continue-on-error
It doesn't do what we really want, nor really does anything else that isn't an unwieldy-at-best stack of conditions.
1 parent 3dcc771 commit b5ad3c4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/validate.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,12 @@ jobs:
261261
echo End "$test"
262262
done
263263
exit $rc
264+
# The above ensures all the tests get run, for a single platform+ghc.
265+
# Trying to ensure they run for *all* combinations but still fail
266+
# at the end seems to be extremely difficult at best. It's doable,
267+
# but it requires a continuously growing stack of conditions and
268+
# one possibly nightmarish final conditional. 'fail-fast' gets us
269+
# partway there, at least, but is still imperfect.
264270

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

326333
build-alpine:
327334
name: Build statically linked using alpine

0 commit comments

Comments
 (0)