Skip to content

Commit 953732d

Browse files
committed
fix(ci): include test suites in plan (tests: True), disable fail-fast
cabal v2-test all failed with [Cabal-7043]: 'the solver picked a plan that does not include the test suites' because the test step, unlike the build step, replans without --enable-tests. With no project-level 'tests: True' default, the solver drops the bloodhound-tests/doctests suites and cabal refuses to test (run 28338345700). - cabal.project: add 'tests: True' so every cabal command (build, test, haddock) plans test suites consistently. Matches cabal's diagnostic. - haskell.yml: set fail-fast: false so one GHC version failing no longer cancels the other matrix jobs (which had masked this as cancellations).
1 parent 699b4ed commit 953732d

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/haskell.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
needs: generate-matrix
3636
runs-on: ${{ matrix.os }}
3737
strategy:
38+
fail-fast: false
3839
matrix: ${{ fromJSON(needs.generate-matrix.outputs.matrix) }}
3940
steps:
4041
- uses: actions/checkout@v5

cabal.project

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
packages: *.cabal, examples/*.cabal
22

3+
tests: True
4+
35
package bloodhound
46
package bloodhound-examples
57

0 commit comments

Comments
 (0)