Skip to content

Promote tests.yml num-threads + sublibrary support to v1 - #44

Merged
ChrisRackauckas merged 2 commits into
v1from
master
Jun 4, 2026
Merged

ChrisRackauckas merged 2 commits into
v1from
master

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Promotes #43 (the num-threads input + project→buildpkg + in-repo [sources] develop step on tests.yml) to @v1 so RecursiveArrayTools.jl and Corleone.jl can convert their bespoke test CI onto the reusable workflow. Delta is just tests.yml (backward-compatible).

Ignore until reviewed by @ChrisRackauckas.

🤖 Generated with Claude Code

ChrisRackauckas and others added 2 commits June 4, 2026 12:00
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
ChrisRackauckas marked this pull request as ready for review June 4, 2026 16:26
@ChrisRackauckas
ChrisRackauckas merged commit 8c92094 into v1 Jun 4, 2026
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.

2 participants