Skip to content

Run ctest in parallel in CI - #149

Merged
derobins merged 1 commit into
developfrom
derobins/parallel_ctest
Oct 8, 2026
Merged

derobins merged 1 commit into
developfrom
derobins/parallel_ctest

Conversation

@derobins

@derobins derobins commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

The build and MinIO integration workflows already build with -j"$(nproc)" but ran the tests one at a time. Run them in parallel too. The package tests already share a RESOURCE_LOCK, and coverage profiles use %m, so concurrent tests merge their profiles instead of overwriting them.

The build and MinIO integration workflows already build with
-j"$(nproc)" but ran the tests one at a time. Run them in parallel too.
The package tests already share a RESOURCE_LOCK, and coverage profiles
use %m, so concurrent tests merge their profiles instead of overwriting
them.

Copilot AI 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.

🟢 Approval recommended

The focused CI-only changes safely use existing test isolation and profile merging.

0 open findings

What changed in this PR

Runs CI tests in parallel to reduce workflow duration.

Changes:

  • Adds ctest -j"$(nproc)" to build and MinIO workflows.
  • Retains failure output and existing test synchronization.
File Description
.github/​workflows/​hipobject-build.yml Parallelizes the main test suite.
.github/​workflows/​hipobject-minio-integration-check.yml Parallelizes MinIO workflow unit tests.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@derobins
derobins merged commit 348ec90 into develop Oct 8, 2026
21 checks passed
@derobins
derobins deleted the derobins/parallel_ctest branch October 8, 2026 22:17
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