From 7300b505b0693cedb49374e9f0b2dbbb2f8c3e8b Mon Sep 17 00:00:00 2001 From: Nicholas Martinez Date: Tue, 25 Jun 2024 10:34:44 -0500 Subject: [PATCH] Set env variables inline, grep silently --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d2d8a4..1d0a367 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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"