From 835e0ede2ca9b8f35e2ba507cfdd97e985ab5d4c Mon Sep 17 00:00:00 2001 From: Julien Bigot Date: Thu, 5 Sep 2024 10:41:42 +0200 Subject: [PATCH] No need to test in mini images --- .github/workflows/validate_in_docker.yml | 4 +--- tests/spack_install_pdi | 2 +- tests/test_install_in_docker | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/validate_in_docker.yml b/.github/workflows/validate_in_docker.yml index 44a29ed..8f679a4 100644 --- a/.github/workflows/validate_in_docker.yml +++ b/.github/workflows/validate_in_docker.yml @@ -13,14 +13,12 @@ jobs: version: ['latest', 'oldest'] compiler: ['gcc', 'clang'] mpi: ['openmpi','mpich'] - variant: ['mini', 'all'] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build env: VERSION: ${{ matrix.version }} COMPILER: ${{ matrix.compiler }} MPI: ${{ matrix.mpi }} - VARIANT: ${{ matrix.variant }} run: ./tests/test_install_in_docker diff --git a/tests/spack_install_pdi b/tests/spack_install_pdi index 4cbf7ac..7fc1f4c 100755 --- a/tests/spack_install_pdi +++ b/tests/spack_install_pdi @@ -5,7 +5,7 @@ set -e echo -e "\n\n******* Adding required spack repositories *******\n" if [ -e ${SPACK_ROOT}/var/spack/repos/pdi ] then - spack repo rm ${SPACK_ROOT}/var/spack/repos/pdi || true + spack repo rm ${SPACK_ROOT}/var/spack/repos/pdi &>/dev/null || true fi spack repo add "$(dirname "$(dirname "$0")")" diff --git a/tests/test_install_in_docker b/tests/test_install_in_docker index 9cc4b5f..2cd8cfd 100755 --- a/tests/test_install_in_docker +++ b/tests/test_install_in_docker @@ -10,7 +10,7 @@ COMPILER="${COMPILER:-gcc}" # MPI implementation if not specified MPI="${MPI:-openmpi}" # libraries included if not specified -VARIANT="${LEVEL:-all}" +VARIANT="${VARIANT:-all}" echo " ** You can set the following environment variables:" echo "VERSION(oldest|latest)=${VERSION}"