Skip to content

Commit 7d0eb2e

Browse files
authored
Properly limit maximum heap size when running tests to ensure streaming doesn’t hold on to data (#81)
* Properly limit maximum heap size when running tests to ensure streaming doesn’t hold on to data * MacOS on Github CI doesn’t like 9.2 and -with-rtsopts
1 parent fc1d70a commit 7d0eb2e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

zlib/zlib.cabal

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,6 @@ test-suite tests
130130
tasty >= 0.8 && < 1.6,
131131
tasty-quickcheck >= 0.8 && < 1
132132
ghc-options: -Wall
133-
--with-rtsopts="-M1G"
133+
134+
if impl(ghc >= 9.4)
135+
ghc-options: "-with-rtsopts=-M1G"

0 commit comments

Comments
 (0)