Skip to content
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

Only run doctests for packages with enabled tests #38

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

lgoettgens
Copy link
Member

In AbstractAlgebra we have different OscarDevTools-CI-jobs for Nemo, Singular, Hecke, and Oscar. However, the OscarCI job there will run the doctests of all loaded packages.
This will lead to the Hecke doctests being run two times (by HeckeCI and OscarCI), the Nemo doctests being run four times (by HeckeCI, OscarCI, NemoCI, and SingularCI). I just copied the guard from the usual test script generation from a few lines above.

@thofma
Copy link
Contributor

thofma commented Sep 11, 2024

Maybe also add Hecke to not do this stuff. They are automatically run in the test suite on 1.10.

@thofma
Copy link
Contributor

thofma commented Sep 11, 2024

What is the intended outcome of the changes here?

@lgoettgens
Copy link
Member Author

What is the intended outcome of the changes here?

Concrete: If I have this config file: https://github.com/Nemocas/AbstractAlgebra.jl/blob/cfdcd276e6b06f3c9c0c7c5ff71b6042656d772a/OscarCI.toml
I do not want to run the Nemo and Hecke doctests. (currently they do, see e.g. https://github.com/Nemocas/AbstractAlgebra.jl/actions/runs/10806524964/job/29975523755#step:8:187)

@thofma
Copy link
Contributor

thofma commented Sep 11, 2024

makes sense, thanks

Copy link
Member

@benlorenz benlorenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, seems reasonable! The two failures seem unrelated and due to github changing the architecture of macos-latest.

@benlorenz benlorenz merged commit af95048 into oscar-system:master Sep 12, 2024
31 of 33 checks passed
@lgoettgens lgoettgens deleted the patch-1 branch September 12, 2024 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants