Skip to content

Commit

Permalink
experiment with parallel testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jcurtis2 committed Sep 14, 2024
1 parent 93ffc2d commit 2093548
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tchem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
- name: Build the testing docker image
run: docker build -f Dockerfile.tchem -t partmc-test .
- name: Run the tests in the docker container
run: docker run -t partmc-test bash -c 'cd /build; make test'
run: docker run -t partmc-test bash -c 'export CTEST_PARALLEL_LEVEL=4; cd /build; make test'
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ add_test(test_rand ${CMAKE_BINARY_DIR}/test_run/run_test_directory.sh rand)
add_test(test_sedi ${CMAKE_BINARY_DIR}/test_run/run_test_directory.sh sedi)
if (ENABLE_TCHEM)
add_test(test_tchem ${CMAKE_BINARY_DIR}/test_run/run_test_directory.sh tchem)
set_tests_properties(test_tchem PROPERTIES RUN_SERIAL TRUE)
endif()
add_test(test_weighting ${CMAKE_BINARY_DIR}/test_run/run_test_directory.sh weighting)

Expand Down
4 changes: 1 addition & 3 deletions Dockerfile.tchem
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ RUN apt-get update \
ca-certificates \
less \
tmux \
make \
libnetcdf-dev \
libnetcdff-dev \
libgsl-dev \
cmake
libgsl-dev

# We should checkout TChem here... and the correct branch for now?
RUN git clone https://github.com/PCLAeroParams/TChem-atm.git /tchem_dir/
Expand Down

0 comments on commit 2093548

Please sign in to comment.