Skip to content

Commit

Permalink
Allow MPI to run as root (this is fine inside a docker)
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyBourne committed Dec 13, 2024
1 parent 698786e commit d3b8a9d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/actions/run_tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ runs:
run: |
ctest -j 2 --timeout 5 --output-junit tests.xml --output-on-failure
shell: bash
working-directory:
./build
working-directory: ./build
env:
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure() # always run even if the previous step fails
Expand Down

0 comments on commit d3b8a9d

Please sign in to comment.