diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 00de49c..1b18868 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,7 +13,6 @@ jobs: cabal: ['3.4', '3.6'] env: CONFIG: "--enable-tests --enable-doc --builddir=build/no-full-width-positions" - TEST_CONFIG: "--enable-tests --enable-doc --builddir=build/no-full-width-positions --test-options='--color always'" steps: - name: Checkout repository uses: actions/checkout@v2.3.4 @@ -45,14 +44,14 @@ jobs: - name: Test (-full-width-positions) run: | - cabal test parsley-core $TEST_CONFIG - cabal test parsley $TEST_CONFIG + cabal test parsley-core $CONFIG --test-options="--color always" + cabal test parsley $CONFIG --test-options="--color always" - name: Test (+full-width-positions) run: | rm cabal.project.freeze - 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 + cabal test parsley-core --flag full-width-positions $CONFIG --test-options="--color always" --builddir=build/full-width-positions + cabal test parsley --flag full-width-positions $CONFIG --test-options="--color always" --builddir=build/full-width-positions - name: Doc run: cabal haddock parsley $CONFIG