@@ -223,15 +223,7 @@ jobs:
223 cabal build --project-file cabal.project.doctest all
223 cabal build --project-file cabal.project.doctest all
224 $HOME/.cabal/bin/cabal-docspec --version
224 $HOME/.cabal/bin/cabal-docspec --version
225 $HOME/.cabal/bin/cabal-docspec --timeout 60 --check-properties --property-variables xs
225 $HOME/.cabal/bin/cabal-docspec --timeout 60 --check-properties --property-variables xs
226− elif test -z "$COVERAGE"
228− export TOOLS_DIR=/opt
229− # /usr/local/opt/curl/bin for macOS
230− export PATH=$HOME/.local/bin:$HOME/.ghcup/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/opt/curl/bin
231− bash -c "$PACKCHECK_LOCAL_PATH $BUILD"
234− if test -n "$COVERAGE"
226+ elif test -n "$COVERAGE"
236 # Run tests with coverage
228 # Run tests with coverage
237 cabal update
229 cabal update
@@ -243,4 +235,9 @@ jobs:
243 bin/test.sh --coverage --raw
235 bin/test.sh --coverage --raw
244 # XXX Uncomment this and fix it properly later
236 # XXX Uncomment this and fix it properly later
245 # hpc-coveralls --repo-token="$COVERALLS_TOKEN" --coverage-mode=StrictlyFullLines
237 # hpc-coveralls --repo-token="$COVERALLS_TOKEN" --coverage-mode=StrictlyFullLines
239+ export TOOLS_DIR=/opt
240+ # /usr/local/opt/curl/bin for macOS
241+ export PATH=$HOME/.local/bin:$HOME/.ghcup/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/opt/curl/bin
242+ bash -c "$PACKCHECK_LOCAL_PATH $BUILD"