on master help sign in
Add test checking for conflicting versions when build depends on ghc
99a9b61adithyaov
streamly.cabal+11
@@ -618,6 +618,17 @@ test-suite parallel-loops
618 , base >= 4.8 && < 5
618 , base >= 4.8 && < 5
619 , random >= 1.0.0 && < 2
619 , random >= 1.0.0 && < 2
620
620
621+test-suite version-bounds
622+ import: test-options
623+ type: exitcode-stdio-1.0
624+ default-language: Haskell2010
625+ main-is: version-bounds.hs
626+ hs-source-dirs: test
627+ build-Depends:
628+ streamly
629+ , ghc
630+ , base >= 4.8 && < 5
631+
621-------------------------------------------------------------------------------
632-------------------------------------------------------------------------------
622-- Benchmarks
633-- Benchmarks
623-------------------------------------------------------------------------------
634-------------------------------------------------------------------------------
test/version-bounds.hsnew file+4
@@ -0,0 +1,4 @@
1+main :: IO ()
2+main =
3+ print
4+ "Version bounds do not conflict when both streamly and ghc are dependencies."