-
Notifications
You must be signed in to change notification settings - Fork 695
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
Update/upgrade/switch away from our current doctest tool in CI #8504
Comments
Couple notes.
|
@sol: hi! Would you have any quick hint how to improve our usage of your doctest tool? Thank you. |
Hi 👋
|
@sol: thank you. So the first task would be to switch to the |
@Mikolaj another idea would be to try cabal-docspec instead of doctest. |
Right, whatever the volunteer chooses and provides rationale for. |
Okay, I tried the recommended method of calling
(Sorry for the Unicode corruption.) @sol, any idea why I get those warnings when doing
instead of a direct call to |
OKay, I moved one notch further with this: adding Next challenge is the following.
|
|
Indeed, it does not work. I think it's #6859 😞 I'm surprised |
I can't parse this. Is it "using both ( |
@Mikolaj to fail you need two conditions to apply:
|
It works (or worked) for me in the other project (https://github.com/LambdaHack/LambdaHack/blob/master/README.md?plain=1#L222). Shall I test if that's still the case? |
@Mikolaj could you rather show a doctest using QuickCheck? |
BTW, haskell-ci normally creates cabal.project file, so that most CI's would be affected. |
All right, in that case I don't understand something. |
@ulysses4ever : I ran into similar problems with The main lesson here was that
( |
@wismill could have just discovered the root of the mystery with the failure to find QuickCheck #6859 (comment) |
Just checked that when I point cabal to a project file without allow-newer(I used cabal.project.libonly), the cabal-repl based method of calling doctest worked for Cabal (solving the issue discribed in #8504 (comment)). This is great news! We can now switch to the officially recommended method for doctest, and ditch the cabal-env business from our doctest CI script. And we can suggest in the docs how to easily run doctest locally (solving #8147). |
This emerged from #8503 (comment). Citing the comment:
The text was updated successfully, but these errors were encountered: