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