Skip to content

Commit

Permalink
make tests faster
Browse files Browse the repository at this point in the history
  • Loading branch information
sandro-elsweijer committed Sep 20, 2024
1 parent a283680 commit c16261f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/tests_cmake_t8code_w_shipped_submodules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,15 @@ jobs:
run: cd build && ninja $MAKEFLAGS
- name: ninja install
run: cd build && ninja install $MAKEFLAGS
- name: ninja test
run: cd build && ninja test
- name: serial tests (if MPI is enabled)
run: cd build && ctest $MAKEFLAGS -R _serial
if: ${{ inputs.MPI == 'ON' }}
- name: parallel tests (if MPI is enabled)
run: cd build && ctest -R _parallel
if: ${{ inputs.MPI == 'ON' }}
- name: tests (if MPI is disabled)
run: cd build && ctest $MAKEFLAGS
if: ${{ inputs.MPI == 'OFF' }}
- name: OnFailUploadLog
if: failure()
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit c16261f

Please sign in to comment.