Skip to content

Commit

Permalink
spack-reusable: adapted the workflow for spack-0.22.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaslg committed Oct 27, 2024
1 parent 6c89d07 commit c96837a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/spack-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c96837a

Please sign in to comment.