Skip to content

Commit bc4c3d2

Browse files
committed
test: run text1 test only for ghc 8.0.2
1 parent e152eef commit bc4c3d2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ jobs:
6868
# compilerVersion: 8.2.2
6969
# setup-method: hvr-ppa
7070
# allow-failure: false
71+
72+
# keep this to test text-1
7173
- compiler: ghc-8.0.2
7274
compilerKind: ghc
7375
compilerVersion: 8.0.2
@@ -238,7 +240,9 @@ jobs:
238240
$CABAL v2-test $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --test-show-details=failures --constrain "text>=2"
239241
- name: test_with_text1
240242
run: |
241-
$CABAL v2-test $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --test-show-details=failures --constrain "text<2"
243+
if [ "${{ matrix.compilerVersion }}" = "8.0.2" ]; then
244+
$CABAL v2-test $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --test-show-details=failures --constrain "text<2"
245+
fi
242246
- name: cabal check
243247
run: |
244248
cd ${PKGDIR_flat} || false

0 commit comments

Comments
 (0)