on master help sign in
Add test checking for conflicting versions when build depends on ghc
commit99a9b612ec07890c1b0defd41f2f958306dea6fb authoradithyaov <adi.obilisetty@gmail.com> dateFri 7 Feb 2020, 22:12 (7 years ago) parenteb51262
2 files changed+15
streamly.cabal+11 test/version-bounds.hs+4
streamly.cabal+11
@@ -618,6 +618,17 @@ test-suite parallel-loops
618618 , base >= 4.8 && < 5
619619 , random >= 1.0.0 && < 2
620620
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+
621632-------------------------------------------------------------------------------
622633-- Benchmarks
623634-------------------------------------------------------------------------------
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."