Skip to content

Conversation

@yutotakano
Copy link
Owner

No description provided.

For some reason, it's not required for the solver to include the test
suite when running `cabal test`. This means that there is a chance that
`cabal test` can reach a local maxima of dependencies that bizzarely
doesn't contain the test suite itself. This is tracked in:

    haskell/cabal#7883

The solution is either to add tests: True to cabal.project, or call
`cabal test` with the --enable-tests flag. This commit does the latter
in the CI, but eventually it'd be nice to get rid of the confusing flag.
Caching strategy has been taken from

    https://markkarpov.com/post/github-actions-for-haskell-ci.html

which has kindly described the directories and keys to use for caching
the Cabal store in GH actions.
@yutotakano yutotakano merged commit 85cd613 into master Feb 14, 2025
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants