Skip to content

Optionally exclude versions of Julia from CI/CD#14

Open
quffaro wants to merge 1 commit intomainfrom
cm/opt-exclude-juliaver
Open

Optionally exclude versions of Julia from CI/CD#14
quffaro wants to merge 1 commit intomainfrom
cm/opt-exclude-juliaver

Conversation

@quffaro
Copy link
Member

@quffaro quffaro commented Jul 25, 2025

Our organization CI/CD tests Julia on an array of default versions, which can be overridden by the package maintainer. For example TraitInterfaces.jl and the coming Catlab refactor are not designed around Julia 1.11 and would break. Therefore it makes sense for the maintainer to use the existing parameter test_versions to pass in an argument "['1.11']" until the AlgebraicJulia CI removes 1.10 from its default testing.

Does it make sense to have an additional exclude_versions parameter where package maintainers pass in the version(s) of Julia they want to exclude?

@kris-brown
Copy link

Is it possible to add the ability to exclude operating systems? Because nauty doesn't work with Windows any code which uses that will not work for windows.

@jpfairbanks
Copy link
Member

The answer there is to use the Julia platform detection in the library and with the following techniques

https://docs.julialang.org/en/v1/manual/handling-operating-system-variation/ Handling Operating System Variation · The Julia Language

and print an error message on windows instead of failing. The tests then need to be wrapped in a similar logic to avoid running on the wrong platform. Disabling windows CI at the package level isn't the right answer

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