Skip to content

Run tests in parallel with ParallelTestRunner - #536

Merged
oameye merged 2 commits into
masterfrom
ci/parallel-test-runner
Oct 19, 2026
Merged

oameye merged 2 commits into
masterfrom
ci/parallel-test-runner

Conversation

@oameye

@oameye oameye commented Oct 17, 2026

Copy link
Copy Markdown
Member

Moves the test suite to ParallelTestRunner, following the SecondQuantizedAlgebra.jl layout.

  • Test dependencies move from [extras]/[targets] to test/Project.toml.
  • test/runtests.jl discovers every file with find_tests and runs them in parallel worker processes.
  • Quality checks live in test/quality/: quality_test.jl (Aqua, ExplicitImports, CheckConcreteStructs) runs with the suite, JET.jl runs standalone in a new JET.yml workflow. The GROUP variable and the JET job in Tests.yml are removed.
  • Each test file is self-contained, since every file now runs in its own sandbox module. Files that relied on names from the old shared runtests.jl scope import them explicitly, and random draws use explicit seeded RNGs.
  • make test runs Pkg.test(), make jet runs the JET analysis.

Run one file locally with Pkg.test(; test_args=["name"]).

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Benchmark Results'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.30.

Benchmark suite Current: bbfaa0a Previous: 8b0c2a7 Ratio
Construction/Krylov Equation/Order 2 1011421554.5 ns 718447635.5 ns 1.41
Construction/Problem/HomotopyContinuationProblem 7433748 ns 5428299 ns 1.37
Linear response/Lab frame/Jacobian Response 849490 ns 578844 ns 1.47

This comment was automatically generated by workflow using github-action-benchmark.

@oameye
oameye added this pull request to stack #538 October 18, 2026 10:44
@oameye
oameye merged commit 426fee6 into master Oct 19, 2026
9 checks passed
@oameye
oameye deleted the ci/parallel-test-runner branch October 19, 2026 08:20
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.

1 participant