-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enables running test-loop against different lts versions #53
Changes from all commits
6d7e71b
5c39225
ec45348
0507d03
bb49c31
c72494c
a443b11
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
-- | ||
-- see: https://github.com/sol/hpack | ||
-- | ||
-- hash: 2887e13eb28b2250509d3b06828be61801f3a68888aee11e5967d10545ecd865 | ||
-- hash: aac4e11fd334ef1bed06baf6d3200c0b50cfb974602a09751fec28951c6ea9e3 | ||
|
||
name: orville | ||
version: 0.8.3.0 | ||
|
@@ -13,6 +13,7 @@ author: Flipstone Technology Partners | |
maintainer: [email protected] | ||
license: MIT | ||
license-file: LICENSE | ||
tested-with: GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4 | ||
build-type: Simple | ||
cabal-version: >= 1.10 | ||
extra-source-files: | ||
|
@@ -88,7 +89,7 @@ library | |
, lifted-base >=0.2 | ||
, monad-control >=1.0 | ||
, mtl >=2.2 | ||
, profunctors >=5.2.1 | ||
, profunctors >=5.2 | ||
, resource-pool >=0.2 | ||
, text | ||
, time >=1.5 | ||
|
@@ -123,7 +124,7 @@ executable orville-sample-exe | |
, monad-control >=1.0 | ||
, mtl >=2.2 | ||
, orville | ||
, profunctors >=5.2.1 | ||
, profunctors >=5.2 | ||
, resource-pool >=0.2 | ||
, text | ||
, time >=1.5 | ||
|
@@ -177,7 +178,7 @@ test-suite spec | |
, monad-control >=1.0 | ||
, mtl >=2.2 | ||
, orville | ||
, profunctors >=5.2.1 | ||
, profunctors >=5.2 | ||
, resource-pool | ||
, tasty | ||
, tasty-discover | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ author: Flipstone Technology Partners | |
maintainer: [email protected] | ||
license: MIT | ||
git: [email protected]:flipstone/orville.git | ||
tested-with: GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4 | ||
extra-source-files: | ||
- README.md | ||
default-extensions: | ||
|
@@ -30,7 +31,7 @@ dependencies: | |
- HDBC >=2.4 | ||
- HDBC-postgresql >=2.3 | ||
- mtl >=2.2 | ||
- profunctors >= 5.2.1 | ||
- profunctors >= 5.2 | ||
- resource-pool >=0.2 | ||
- text | ||
- time >=1.5 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
resolver: lts-10.10 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I recall a conversation around the compiler flags used to build by default given hackage recommendations. After getting some warnings from Orville trying to use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not 100% sure what you're getting at, but if you're saying you want to simply print warnings during CI I honestly doubt we'd every go and look at them very much. If you're suggesting we make them errors, I'm concerned that trying to make everything to compile on so many different versions without any warnings on any of them might be a lot of effort for not much gain. I'm not against trying if we think there's value in it, but I'd like to understand what course of action you're specifically suggesting before getting too far down the path. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm just trying to get us some way to have visibility into more warnings, especially ones that end up being shown to users of Orville. And since we don't want There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't buy that having CI spit out warnings is going to cause is to fix them. If our goal is to never have a user see a warning while Orville compiles, we would need to commit to using |
||
packages: | ||
- . | ||
extra-deps: | ||
- HDBC-postgresql-2.3.2.5 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
resolver: lts-6.35 | ||
packages: | ||
- . | ||
extra-deps: | ||
- HDBC-postgresql-2.3.2.5 | ||
- unliftio-core-0.1.2.0 | ||
|
||
# the following dependencies are for | ||
# the test suite | ||
- tasty-discover-2.0.3 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
resolver: lts-7.24 | ||
packages: | ||
- . | ||
extra-deps: | ||
- HDBC-postgresql-2.3.2.5 | ||
- unliftio-core-0.1.2.0 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
resolver: lts-8.24 | ||
packages: | ||
- . | ||
extra-deps: | ||
- HDBC-postgresql-2.3.2.5 | ||
- unliftio-core-0.1.2.0 | ||
|
||
# lts-8.24 contains tasty-discover-1.1.0 for some reason, which appears to | ||
# have an issuee with tests having the same name if different test modules, | ||
# so we use a different version of tasty-discover to run tests in this lts. | ||
# This doesn't affect the operation of the library itself, which does not | ||
# depend on tasty. | ||
- tasty-discover-2.0.3 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
resolver: lts-9.21 | ||
packages: | ||
- . | ||
extra-deps: | ||
- HDBC-postgresql-2.3.2.5 | ||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the line above this not need to change to specify the yml file as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, the line above should simply be removed. We're not currently running that build, and once the conduit work is done it won't be an allowed failure either. Good catch.