Skip to content

Commit 6ee2719

Browse files
authored
Merge pull request #917 from haskell/text-2.0-on-ci
Test with text-2.0 on CI
2 parents df83212 + f1734c8 commit 6ee2719

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
#
99
# For more information, see https://github.com/haskell-CI/haskell-ci
1010
#
11-
# version: 0.13.20211116
11+
# version: 0.13.20211226
1212
#
13-
# REGENDATA ("0.13.20211116",["github","cabal.project"])
13+
# REGENDATA ("0.13.20211226",["github","cabal.project"])
1414
#
1515
name: Haskell-CI
1616
on:
@@ -233,6 +233,16 @@ jobs:
233233
- name: prepare for constraint sets
234234
run: |
235235
rm -f cabal.project.local
236+
- name: constraint set text-2.0
237+
run: |
238+
$CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='text ^>=2.0' --dependencies-only -j2 all
239+
$CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='text ^>=2.0' all
240+
$CABAL v2-test $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='text ^>=2.0' all
241+
- name: constraint set text-1.2
242+
run: |
243+
$CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='text ^>=1.2.3.0' --dependencies-only -j2 all
244+
$CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='text ^>=1.2.3.0' all
245+
$CABAL v2-test $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='text ^>=1.2.3.0' all
236246
- name: constraint set bytestring-0.11.2.0
237247
run: |
238248
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='bytestring >= 0.11.2.0' --dependencies-only -j2 all

cabal.haskell-ci

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,13 @@ constraint-set ordered-keymap-off
2525

2626
constraint-set bytestring-0.11.2.0
2727
constraints: bytestring >= 0.11.2.0
28+
29+
constraint-set text-1.2
30+
constraints: text ^>=1.2.3.0
31+
tests: True
32+
run-tests: True
33+
34+
constraint-set text-2.0
35+
constraints: text ^>=2.0
36+
tests: True
37+
run-tests: True

0 commit comments

Comments
 (0)