Skip to content

Commit

Permalink
added colourful CI
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mie6 committed Sep 2, 2023
1 parent bd01f0a commit fc5ad3f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
cabal: ['3.4', '3.6']
env:
CONFIG: "--enable-tests --enable-doc --builddir=build/no-full-width-positions"
TEST_CONFIG: "$CONFIG --test-options=\"--color always\""
steps:
- name: Checkout repository
uses: actions/checkout@v2.3.4
Expand Down Expand Up @@ -44,14 +45,14 @@ jobs:

- name: Test (-full-width-positions)
run: |
cabal test parsley-core $CONFIG
cabal test parsley $CONFIG
cabal test parsley-core $TEST_CONFIG
cabal test parsley $TEST_CONFIG
- name: Test (+full-width-positions)
run: |
rm cabal.project.freeze
cabal test parsley-core --flag full-width-positions $CONFIG --builddir=build/full-width-positions
cabal test parsley --flag full-width-positions $CONFIG --builddir=build/full-width-positions
cabal test parsley-core --flag full-width-positions $TEST_CONFIG --builddir=build/full-width-positions
cabal test parsley --flag full-width-positions $TEST_CONFIG --builddir=build/full-width-positions
- name: Doc
run: cabal haddock parsley $CONFIG

0 comments on commit fc5ad3f

Please sign in to comment.