Promote tests.yml num-threads + sublibrary support to v1 - #44
Merged
Merged
Conversation
Two backward-compatible additions so a couple of repos that currently keep bespoke test CI can use the centralized workflow: - num-threads: sets JULIA_NUM_THREADS on the runtest step (default "1", i.e. unchanged). Lets repos that need multi-threaded test coverage (e.g. RecursiveArrayTools' issue #570 threaded regression tests) run on the reusable workflow instead of a bespoke matrix. - Pass `project` to julia-buildpkg, and add an in-repo [sources] develop step, so the workflow can build+test a lib/* sublibrary package (project: lib/Foo). The develop step only runs for non-root projects on Julia < 1.11 (>= 1.11 auto-resolves [sources]); it is skipped for every existing caller (project defaults to "@."). All defaults preserve current behavior for the ~130 existing consumers. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…nd-threads tests.yml: add num-threads input + sublibrary (project) support
ChrisRackauckas
marked this pull request as ready for review
June 4, 2026 16:26
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.
Promotes #43 (the
num-threadsinput +project→buildpkg + in-repo[sources]develop step ontests.yml) to@v1so RecursiveArrayTools.jl and Corleone.jl can convert their bespoke test CI onto the reusable workflow. Delta is justtests.yml(backward-compatible).🤖 Generated with Claude Code