Skip to content

Commit

Permalink
Add ghc environment files to the CI for doctest
Browse files Browse the repository at this point in the history
When running doctest outside of a nix-shell, it is failing to find
build depends.

Change-Id: I7aaa4e9f1f4b656ca76003643a98aaf04b1d07b4
  • Loading branch information
TristanCacqueray committed Feb 13, 2022
1 parent 43b266a commit 603fc7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
${{ runner.os }}-${{ matrix.ghc }}-
${{ runner.os }}-
- run: cabal update
- run: cabal build --enable-tests --flags=ci all
- run: cabal build --enable-tests --flags=ci all --write-ghc-environment-files=always
- run: cabal test --enable-tests --flags=ci --test-show-details=direct all
- run: cabal haddock all
- run: cabal sdist all
Expand Down

0 comments on commit 603fc7d

Please sign in to comment.