Skip to content

Commit

Permalink
Merge pull request #1277 from DLR-AMR/fix-api_ci
Browse files Browse the repository at this point in the history
Fix CI parallelity
  • Loading branch information
sandro-elsweijer authored Oct 31, 2024
2 parents 0c3643f + cc228fd commit e6e4fd3
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/tests_cmake_t8code_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,15 @@ jobs:
run: cd build_fortran && ninja $MAKEFLAGS
- name: ninja install
run: cd build_fortran && ninja install $MAKEFLAGS
- name: ninja test
run: cd build_fortran && ninja test
- name: serial tests (if MPI is enabled)
run: cd build_fortran && ctest $MAKEFLAGS -R _serial
if: ${{ inputs.MPI == 'ON' }}
- name: parallel tests (if MPI is enabled)
run: cd build_fortran && ctest -R _parallel
if: ${{ inputs.MPI == 'ON' }}
- name: tests (if MPI is disabled)
run: cd build_fortran && ctest $MAKEFLAGS
if: ${{ inputs.MPI == 'OFF' }}
- name: OnFailUploadLog
if: failure()
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit e6e4fd3

Please sign in to comment.