-
Notifications
You must be signed in to change notification settings - Fork 71
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
doctest: Allow skipping certain files / only testing a subset of files #519
Comments
Teach |
I can do that locally by specifying a set of files I want to run it on. |
Since both haskell-ci (even with cabal-docspec) and doctest insist that there should be no way to skip even a single example in the documentation that may not be doctest-able because of impurities or requirements in terms of environment, we have to use code blocks instead of the more semantic example entries in haddock markup to prevent it from trying to invoke nix-instantiate in CI which won't work in an ubuntu docker container. In the future we may be able to skip the file altogether either via a patch to the generated output or whatever resolves this issue: haskell-CI/haskell-ci#519
We use haskell-ci's weird feature to apply a patch to the workflow file in order to not test PackageMap.hs using doctest since it will always fail -- there seems to be no way to install nix in haskell-ci's ubuntu docker containers. We can hopefully drop this if the following issue gets some kind of resolution: haskell-CI/haskell-ci#519
We use haskell-ci's weird feature to apply a patch to the workflow file in order to not test PackageMap.hs using doctest since it will always fail -- there seems to be no way to install nix in haskell-ci's ubuntu docker containers. We can hopefully drop this if the following issue gets some kind of resolution: haskell-CI/haskell-ci#519
Specifically, I'm not thrilled of a possible idea that |
We use haskell-ci's weird feature to apply a patch to the workflow file in order to not test PackageMap.hs using doctest since it will always fail -- there seems to be no way to install nix in haskell-ci's ubuntu docker containers. We can hopefully drop this if the following issue gets some kind of resolution: haskell-CI/haskell-ci#519
We use haskell-ci's weird feature to apply a patch to the workflow file in order to not test PackageMap.hs using doctest since it will always fail -- there seems to be no way to install nix in haskell-ci's ubuntu docker containers. We can hopefully drop this if the following issue gets some kind of resolution: haskell-CI/haskell-ci#519
Since there is no way to make doctest skip a certain example which would be impossible to do on CI for example, skipping a file altogether is desireable in some cases.
The text was updated successfully, but these errors were encountered: