diff --git a/.github/workflows/pr_analysis.yml b/.github/workflows/pr_analysis.yml index 42daad4ea8..5f4727c7ea 100644 --- a/.github/workflows/pr_analysis.yml +++ b/.github/workflows/pr_analysis.yml @@ -47,29 +47,28 @@ jobs: run: | pip install --user scancode-toolkit -# - name: Check out software-layer repository -# uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 -# -# - name: Mount EESSI CernVM-FS pilot repository -# uses: cvmfs-contrib/github-action-cvmfs@d4641d0d591c9a5c3be23835ced2fb648b44c04b # v3.1 -# with: -# cvmfs_config_package: https://github.com/NorESSI/filesystem-layer/releases/download/latest/cvmfs-config-nessi_latest_all.deb -# cvmfs_http_proxy: DIRECT -# cvmfs_repositories: pilot.nessi.no -# -# - name: Test check_missing_installations.sh script with EESSI_SOFTWARE_SUBDIR_OVERRIDE -# if: '!cancelled()' -# run: | -# export EESSI_SOFTWARE_SUBDIR_OVERRIDE=${{matrix.EESSI_SOFTWARE_SUBDIR}} -# source /cvmfs/pilot.nessi.no/versions/${{matrix.EESSI_VERSION}}/init/bash -# module load EasyBuild -# eb --version -# export EESSI_PREFIX=/cvmfs/pilot.nessi.no/versions/${{matrix.EESSI_VERSION}} -# export EESSI_OS_TYPE=linux -# env | grep ^EESSI | sort -# echo "just run check_missing_installations.sh (should use ${{matrix.EASYSTACK_FILE}})" -# ./check_missing_installations.sh ${{matrix.EASYSTACK_FILE}} -# + - name: Check out software-layer repository + uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 + + - name: Mount EESSI CernVM-FS pilot repository + uses: cvmfs-contrib/github-action-cvmfs@d4641d0d591c9a5c3be23835ced2fb648b44c04b # v3.1 + with: + cvmfs_config_package: https://github.com/NorESSI/filesystem-layer/releases/download/latest/cvmfs-config-nessi_latest_all.deb + cvmfs_http_proxy: DIRECT + cvmfs_repositories: pilot.nessi.no + + - name: Determine missing installations with + if: '!cancelled()' + run: | + export EESSI_SOFTWARE_SUBDIR_OVERRIDE=${{matrix.EESSI_SOFTWARE_SUBDIR}} + source /cvmfs/pilot.nessi.no/versions/${{matrix.EESSI_VERSION}}/init/bash + module load EasyBuild + eb --version + export EESSI_PREFIX=/cvmfs/pilot.nessi.no/versions/${{matrix.EESSI_VERSION}} + export EESSI_OS_TYPE=linux + env | grep ^EESSI | sort + eb --missing --easystack ${{matrix.EASYSTACK_FILE}} | grep '^* ' + # - name: Test check_missing_installations.sh script without EESSI_SOFTWARE_SUBDIR_OVERRIDE # if: '!cancelled()' # run: |