-
-
Notifications
You must be signed in to change notification settings - Fork 413
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
Basic GitHub actions-based CI #1402
Conversation
For the record, here is what seems to be missing ATM:
|
I noticed the following weirdness in
|
8eea30f
to
0b9b2a1
Compare
We are hitting: sol/doctest#119 When running I'll give a stab at it using
|
@@ -3,7 +3,8 @@ packages: | |||
servant-client/ | |||
servant-client-core/ | |||
servant-http-streams/ | |||
servant-docs/ | |||
-- Tests failing with Cabal (TODO: investigate) | |||
-- servant-docs/ |
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.
FWIW I was able to get tests to pass by testing twice, with each field.
https://github.com/haskell-servant/servant/pull/1401/files#diff-1d3cfc9328ae9300f3c558d76c2bab79a5eee646734eac7500f828cd318275f1
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.
That's good to know ! There is a pending PR ( #1397 ) that fixes this problem in a slightly different way. We'll ponder what the best approach is.
The Travis CI works around the ambiguous module problem with doctests with:
in |
6ec0f00
to
0a199d2
Compare
The doctests were actually only failing on MacOS, which happened to run faster than Ubuntu and cancelled the entire build. Disabling the MacOS builds for now since the Travis CI doesn't have them anyway, and we're only aiming for feature-parity at this point. |
029b112
to
1b3a986
Compare
The We will modify the cookbook not to use this extension. |
ee2e134
to
22755b4
Compare
4b2f9b4
to
cf21eaf
Compare
10ff95e
to
d3da568
Compare
Also remove mention about re-generating .travis.yml in README
- Setup a basic CI based on GitHub actions, with a somewhat limited build matrix. - Disable cookbook/testing, because servant-quickcheck doesn't build anymore. - Disable servant-docs on Cabal build, because of some test failures - The order of some JSON fields seems to be reversed in the output, need investigation. - Fix test failures in servant-http-streams when `localhost` points to an IPv6 address rather than 127.0.0.1.
CI is fixed, and (AFAIK) has feature-parity with previous setup. Since the Travis setup is basically broken, I'll merge now. A few trivial changes were required:
A Things to improve on:
|
(New version of #1396 from a Servant repository branch, in order to get GitHub actions actually running here.)
The Travis CI has been broken for a while, and it is probably time to fix it so that proper development can continue.
This PR:
localhost
points to an IPv6 address rather than 127.0.0.1.If this PR is merged, I plan on fixing and re-enabling all the disabled tests one-by-one. I think the first step here is to get back to a green CI to prevent further regressions.
Opening as draft for now because it still needs a bit of cleanup. An example run can be witnessed here:
https://github.com/gdeest/servant/runs/2024096343