Skip to content

Commit b779988

Browse files
committed
use -j for ctest
Signed-off-by: Mitchell <[email protected]>
1 parent b2ea2ff commit b779988

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test_in_devenv.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
echo "::error file=test_in_devenv.yml::Python interop tests failed with status $pytest_status."
9999
exit 1
100100
fi
101-
ctest --output-on-failure --test-dir build -E "ctest-nvqpp|ctest-targettests"
101+
ctest -j$(nproc) --output-on-failure --test-dir build -E "ctest-nvqpp|ctest-targettests"
102102
ctest_status=$?
103103
$LLVM_INSTALL_PREFIX/bin/llvm-lit -v --time-tests --param nvqpp_site_config=build/test/lit.site.cfg.py build/test
104104
lit_status=$?
@@ -135,7 +135,7 @@ jobs:
135135
echo $CUDAQ_MPI_COMM_LIB
136136
# Rerun the MPI plugin test
137137
cd $CUDAQ_REPO_ROOT
138-
ctest --test-dir build -R MPIApiTest -V
138+
ctest -j$(nproc) --test-dir build -R MPIApiTest -V
139139
external_plugin_status=$?
140140
if [ ! $external_plugin_status -eq 0 ] ; then
141141
echo "::error file=test_in_devenv.yml::Test CUDA Quantum MPI Plugin Activation failed with status $external_plugin_status."

0 commit comments

Comments
 (0)