Skip to content

Commit ca0e141

Browse files
committed
fix: test with ghc9 and text1
1 parent 4567b88 commit ca0e141

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ on:
1919
jobs:
2020
linux:
2121
name: Haskell-CI - Linux - ${{ matrix.compiler }}
22-
runs-on: ubuntu-22.04
22+
runs-on: ubuntu-latest
23+
#runs-on: macos-latest
2324
timeout-minutes: 60
2425
container:
2526
image: buildpack-deps:bionic
@@ -209,7 +210,7 @@ jobs:
209210
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi
210211
cat >> cabal.project <<EOF
211212
EOF
212-
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(flat)$/; }' >> cabal.project.local
213+
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(flat|text)$/; }' >> cabal.project.local
213214
cat cabal.project
214215
cat cabal.project.local
215216
- name: dump install plan
@@ -232,12 +233,12 @@ jobs:
232233
- name: build
233234
run: |
234235
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --write-ghc-environment-files=always
235-
- name: test_with_text1
236-
run: |
237-
$CABAL v2-test $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --test-show-details=failures --constrain "text<2"
238236
- name: test_with_text2
239237
run: |
240238
$CABAL v2-test $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --test-show-details=failures --constrain "text>=2"
239+
- name: test_with_text1
240+
run: |
241+
$CABAL v2-test $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --test-show-details=failures --constrain "text<2"
241242
- name: cabal check
242243
run: |
243244
cd ${PKGDIR_flat} || false

0 commit comments

Comments
 (0)