Skip to content

Commit b9b3739

Browse files
committed
Fix CI for GHC 9.6: stack --silent supresses warning about too new GHC
1 parent 6712f47 commit b9b3739

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,4 @@ jobs:
104104
stackyaml: ${{ matrix.plan.stackyaml }}
105105
run: |
106106
export PATH=~/.local/bin:$PATH
107-
STACKYAML=$stackyaml make test
107+
make STACKYAMLOPT="--silent --stack-yaml=$stackyaml" test

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ SHELLTESTEXE = $(shell $(STACK) path --local-install-root)/bin/shelltest
1818
# the base shelltest command with common options,
1919
# and the STACKYAMLOPT env var which helps any tests
2020
# which run stack themselves (eg large-output.test)
21-
SHELLTEST = STACKYAMLOPT=$(STACKYAMLOPT) $(SHELLTESTEXE) --exclude /_ -j16 --hide-successes
21+
SHELLTEST = STACKYAMLOPT="$(STACKYAMLOPT)" $(SHELLTESTEXE) --exclude /_ -j16 --hide-successes
2222

2323
# standard targets
2424

0 commit comments

Comments
 (0)