Skip to content

Commit

Permalink
Set env variables inline, grep silently
Browse files Browse the repository at this point in the history
  • Loading branch information
lattice737 authored Jun 25, 2024
1 parent da6b144 commit 7300b50
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,4 @@ jobs:
uses: addnab/docker-run-action@v3
with:
image: environ:latest
options: -e OMPI_ALLOW_RUN_AS_ROOT=1 -e OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
run: sh -c "cd /app/q-e/Environ/tests && make --ignore-errors run-tests-parallel | tee /app/tests.log && if grep **FAILED** /app/tests.log; then exit 1; fi"
run: sh -c "export OMPI_ALLOW_RUN_AS_ROOT=1 OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 && cd /app/q-e/Environ/tests && make --ignore-errors run-tests-parallel | tee /app/tests.log && if grep -q **FAILED** /app/tests.log; then exit 1; fi"

0 comments on commit 7300b50

Please sign in to comment.