Allow external libneo_ref trigger in CI#367
Merged
Merged
Conversation
7 tasks
A libneo release dispatches main.yml with a candidate ref; it takes precedence over the branch-name default. SIMPLE's resolver reads LIBNEO_BRANCH.
a240cd7 to
e4383a5
Compare
krystophny
added a commit
that referenced
this pull request
Jun 8, 2026
Gives the libneo reverse-dependency gate a sub-minute SIMPLE test set. - Labels six sub-second tests `smoke`: three VMEC-coordinate tests that call libneo directly (`test_magfie_refcoords_vmec`, `test_jacobian_conventions_vmec`, `test_hctr_from_metric_vmec`) so the gate actually catches a libneo break, plus the `lapack`/`orbit_symplectic`/`field` base tests. Measured ~1.8s total. - Adds a `test-smoke` make target (`ctest -L smoke`). - `main.yml`: a libneo-gate dispatch (`workflow_dispatch` without `full`) builds SIMPLE against the candidate libneo and runs only the smoke set. Push, PR and `full=true` keep the complete fast + slow + regression suite, unchanged. Builds on #367 (already merged), which wired the `libneo_ref` dispatch input and `LIBNEO_BRANCH` resolver.
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.
Lets libneo's release gate build SIMPLE against a candidate ref. Standalone: SIMPLE's resolver already reads
LIBNEO_BRANCHon main.main.ymltakes alibneo_refdispatch input.LIBNEO_BRANCHnow resolves toinputs.libneo_ref || github.head_ref || github.ref_name: a dispatched ref wins, otherwise the existing follow-branch default holds. The full suite runs on dispatch.