Skip to content

Commit

Permalink
Make sure all the directories actually exist
Browse files Browse the repository at this point in the history
  • Loading branch information
ocaisa committed Sep 3, 2023
1 parent 7db0616 commit b81b729
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tests_archdetect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0

- name: test eessi_archdetect.sh
uses: eessi/github-action-eessi@main

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium test

score is 8: third-party GitHubAction not pinned by hash
Click Remediation section below to solve this issue
with:
eessi_stack_version: '2023.06'
run: |
export EESSI_MACHINE_TYPE=${{matrix.proc_cpuinfo}}
export EESSI_MACHINE_TYPE=${EESSI_MACHINE_TYPE%%/*}
Expand All @@ -41,3 +44,7 @@ jobs:
echo "Test for ${{matrix.proc_cpuinfo}} FAILED: $CPU_ARCHES" >&2
exit 1
fi
# Check all those architectures exist
for dir in $(echo "$CPU_ARCHES" | tr ':' '\n'); do
[ -d "$EESSI_PREFIX/software/linux/$dir" ]
done

0 comments on commit b81b729

Please sign in to comment.