-
Notifications
You must be signed in to change notification settings - Fork 11
Using doctest #8
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
Comments
I personally don't use
where PKGNAME and DOCTESTS refer to the actual pkg name and name of the doctest suite, respectively. |
Does this mean I have to create a dedicated doctest test-suite in the .cabal file? The name of the test-suite would be what you call |
Oh, yeah, I was assuming you had a doctest suite. But calling the binary yourself has the same issue, you need to somehow pass it the package db. All I know is that the solution above has worked for my coworker, but there's also this PR (coincidentally by a different coworker) which might provide some useful insight. |
Thank you very much for your answer. From what I understand, the support for doctest is not really there yet and developers are actively working on it. I will give up for now. I don't think there is much to be done in template-haskell so I'm also closing this issue. Feel free to reopen it if you want to. |
Hi,
I've applied your template to a small project but can't make doctest to run in GitHub Actions: it works for the stack build, but not for cabal or nix.
Do you have any idea what could be wrong?
The text was updated successfully, but these errors were encountered: