From ee04b669519ab6b36ce20ed02506344499c67782 Mon Sep 17 00:00:00 2001 From: Oksana Shadura Date: Wed, 13 Mar 2024 17:28:08 +0100 Subject: [PATCH] Enable voms check --- .github/workflows/gh-ci.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/gh-ci.yaml b/.github/workflows/gh-ci.yaml index d85dc11..fbfe1e0 100644 --- a/.github/workflows/gh-ci.yaml +++ b/.github/workflows/gh-ci.yaml @@ -140,18 +140,18 @@ jobs: run: | docker run --rm ${tag} conda list --export -# - name: Make sure voms tools are working -# env: -# tag: ${{ steps.tags.outputs.tag }} -# run: | -# ERROR=$(docker run ${tag} voms-proxy-info 2>&1 > /dev/null; exit 0) -# TEST=$(echo -e "\nCouldn't find a valid proxy.\n") - -# if [ "$ERROR" == "$TEST" ]; then -# exit 0 -# else -# exit 1 -# fi + - name: Make sure voms tools are working + env: + tag: ${{ steps.tags.outputs.tag }} + run: | + ERROR=$(docker run ${tag} voms-proxy-info 2>&1 > /dev/null; exit 0) + TEST=$(echo -e "\nCouldn't find a valid proxy.\n") + + if [ "$ERROR" == "$TEST" ]; then + exit 0 + else + exit 1 + fi - name: Test Pytest environement v0 if: ${{ matrix.image_dir == 'coffea-base' }}