run parallel tests

Signed-off-by: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com>
This commit is contained in:
Pratik Mankawde
2026-02-04 11:28:24 +00:00
parent 4b99771021
commit 26dd1fafe3

View File

@@ -224,7 +224,8 @@ jobs:
run: |
ctest \
--output-on-failure \
-C "${BUILD_TYPE}"
-C "${BUILD_TYPE}" \
-j "${PARALLELISM}"
- name: Run the embedded tests
if: ${{ !inputs.build_only }}
@@ -232,7 +233,7 @@ jobs:
env:
BUILD_NPROC: ${{ steps.nproc.outputs.nproc }}
run: |
./xrpld --unittest
./xrpld --unittest --unittest-jobs "${BUILD_NPROC}"
# Pipeline should fail if the separate tests failed.
- name: Check results of the SeparateTests