Only force latest compatible versions on the newest Julia in Tests - #4
Merged
Merged
Conversation
Same change as for TestGroups: `julia-actions/julia-runtest` resolves `force_latest_compatible_version: auto` to `true` on Dependabot and CompatHelper branches, which is unsatisfiable on an older Julia as soon as a dependency's newest range drops support for it. Restrict it to `julia-version == '1'` and expose `force-latest-compatible-version` so callers can override it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ports the change from #3 (TestGroups) to the single-job
Tests.ymlreusable workflow.julia-actions/julia-runtestresolvesforce_latest_compatible_version: autototrueondependabot/julia*andcompathelper/*branches, pinning every[compat]entry to its newest range. On an older Julia this is unsatisfiable as soon as a dependency's newest range drops support for it (e.g. JET 0.12 on Julia 1.10, see QuantumKitHub/TensorKitSectors.jl#111), so the job fails to resolve before running any tests.julia-version == '1'; every other version runs withfalse.force-latest-compatible-versioninput (defaultauto), matchingTestGroups.yml.Affects callers of
Tests.yml: SUNRepresentations.jl, TensorKitTensors.jl, MultiTensorKit.jl.🤖 Generated with Claude Code