Skip to content

Commit 6cd7bef

Browse files
try dev flag
1 parent 72609d5 commit 6cd7bef

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
- name: Test
7474
run: |
7575
set -ex
76-
stack test --coverage
76+
stack test --coverage --flag constrained-generators:devel
7777
stack hpc report --all
7878
7979
- uses: actions/cache/save@v4

constrained-generators.cabal

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,12 @@ test-suite constrained-tests
141141
QuickCheck,
142142
base,
143143
constrained-generators,
144-
constrained-generators:examples,
145144
containers,
146-
hspec,
145+
hspec
146+
147+
if !flag(devel)
148+
build-depends:
149+
constrained-generators:examples
147150

148151
benchmark bench
149152
type: exitcode-stdio-1.0

0 commit comments

Comments
 (0)