From 24a21f1d4325988abc54d0dccb272c40b4837826 Mon Sep 17 00:00:00 2001 From: Benjamin Rodenberg Date: Mon, 8 Jul 2024 14:37:21 +0200 Subject: [PATCH] Provide concrete version. --- .github/workflows/build-spack.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-spack.yml b/.github/workflows/build-spack.yml index 6a783975..f7a7aac6 100644 --- a/.github/workflows/build-spack.yml +++ b/.github/workflows/build-spack.yml @@ -33,12 +33,12 @@ jobs: spack install && spack find spack load py-pyprecice BINDINGS_VERSION=$(python3 -c "import precice; print(precice.__version__)") && echo "Installed version of bindings is ${BINDINGS_VERSION}" - - name: Try to build py-pyprecice@latest with spack and test it + - name: Try to build py-pyprecice@3.1.0 with spack and test it run: | . /opt/spack/share/spack/setup-env.sh spack env activate ci && spack arch spack remove py-pyprecice - spack add pyprecice.test.py-pyprecice && spack develop pyprecice.test.py-pyprecice + spack add pyprecice.test.py-pyprecice@3.1.0 && spack develop pyprecice.test.py-pyprecice@3.1.0 spack install && spack find spack load py-pyprecice BINDINGS_VERSION=$(python3 -c "import precice; print(precice.__version__)") && echo "Installed version of bindings is ${BINDINGS_VERSION}" \ No newline at end of file