-
Notifications
You must be signed in to change notification settings - Fork 5
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
Enable REST property tests #17
Conversation
These show up on diffs and clutter our view of changes
1. Two tests still fail, but the best fix is unclear. Left a FIX ME. 2. The name of the test suite `tests` was causing cabal to fail when running (`cabal new-tests tests`) on the same directory as the .cabal file. 3. Minor logging fix
Thanks for submitting this @dimitri-xyz! I can take a look during the weekend. |
Turns out this is an example of why I don't like to use cabal in my projects. When I first forked this project and tried to build it, the build failed. I used Turns out that the version of
As I see it, this bug was introduced because
The first option, does not solve the problem, it just buries it for now. Usually, I'd advise against it. The second option The third option, using stack/Stackage does guarantee reproducible builds (up to haskell packages) and at least tries to ensure all packages in a single release will work nicely together. There is a catch, though. As I understand it, to upload to hackage one needs to place the version limits in the cabal file (to let the cabal solver work), but this prevents Again, one can use the "hacked solution" (1), this will allow people building with stack to have a reproducible build based on whichever My suggestion is to only use stack with This is what I am inclined to use. Let me know your thoughts. |
This commit enables building the project with stack rather than cabal. However, the version built by stack may be *different* from the one built by `cabal new-build` because of reproducibility issues with cabal. We should probably refresh and freeze the cabal dependencies. See: Lucsanszky#17 (comment)
Hey @dimitri-xyz, sorry for the delay on this one. Sure thing, we can go with |
That's great! I am all for running |
This makes the REST tests build and pass (mostly).
I am not sure how to best fix the property test errors due to "orderBookBinning". This pull request is to start that discussion or to learn what the fix should be, if that is clear to you.