From c96837ae6f33b101ab6000635ca88dbbe458c170 Mon Sep 17 00:00:00 2001 From: nicolas le goff Date: Mon, 28 Oct 2024 00:35:10 +0100 Subject: [PATCH] spack-reusable: adapted the workflow for spack-0.22.2 --- .github/workflows/spack-reusable.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/spack-reusable.yml b/.github/workflows/spack-reusable.yml index 2b350e3..33e6e0b 100644 --- a/.github/workflows/spack-reusable.yml +++ b/.github/workflows/spack-reusable.yml @@ -41,7 +41,7 @@ jobs: spack add python@3 spack add py-pytest # Must set a version number > last version to take right variants in recipes - spack develop -p $GITHUB_WORKSPACE --no-clone ${{ github.event.repository.name }}@999 + spack develop -p $GITHUB_WORKSPACE --no-clone ${{ github.event.repository.name }} spack concretize --reuse spack install -v --test=root @@ -54,7 +54,7 @@ jobs: spack env activate ci-env spack load python spack load py-pytest - spack load ${{ github.event.repository.name }}@999 + spack load ${{ github.event.repository.name }} # trace for logs python --version @@ -64,7 +64,7 @@ jobs: echo $PYTHONPATH # set PYTHONPATH variable - export PACKAGE_PATH=$PACKAGE_PATH/lib/python3.10/site-packages + export PACKAGE_PATH=$PACKAGE_PATH/lib/python3.11/site-packages export PYTHONPATH=$PYTHONPATH:$PACKAGE_PATH echo $PYTHONPATH