From 6692d1cf9cf6896d98b3a8fe49e9484fa61fff35 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 3 Nov 2026 14:02:57 +0000 Subject: [PATCH] ci: run the tests in parallel - the tests pass with ctest --parallel: no two tests use the same address or shm session - locally, the 176 tests in test/ take 6 s with 8 jobs instead of 45 s Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 15f4df00..2940d6c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,7 +59,7 @@ jobs: # limit so it does not hit RLIMIT_MEMLOCK on the runner. sudo prlimit --pid $$ --memlock=unlimited:unlimited ulimit -l - ctest --test-dir build --output-on-failure --no-tests=error + ctest --test-dir build --output-on-failure --no-tests=error --parallel "$(nproc)" - name: Install run: cmake --install build @@ -160,7 +160,7 @@ jobs: # limit so it does not hit RLIMIT_MEMLOCK on the runner. sudo prlimit --pid $$ --memlock=unlimited:unlimited ulimit -l - ctest --test-dir build --output-on-failure --no-tests=error + ctest --test-dir build --output-on-failure --no-tests=error --parallel "$(nproc)" static-analysis: if: github.repository == 'FairRootGroup/FairMQ'