Skip to content

Commit f2d8b93

Browse files
author
Richard Top
committed
Added test cast with no specific EESSI version
1 parent 116175f commit f2d8b93

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/test-software.eessi.io.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,22 @@ jobs:
4343
with:
4444
fetch-depth: 0 # Fetch all history for all branches and tags
4545

46-
- name: Detect EESSI Versions
46+
- name: Detect EESSI version in changed files
4747
id: detect
4848
run: |
49-
# Use base_ref and head_ref for more reliable diffing in PRs
49+
# Use base_ref and head_ref for diff in PRs
5050
# Ensure you have checked out with fetch-depth: 0
5151
changed_files=$(git diff --name-only origin/${{ github.base_ref }} origin/${{ github.head_ref }})
5252
echo "Files changed: $changed_files"
5353
5454
# Default to both versions
5555
EESSI_VERSIONS='["2023.06", "2025.06"]'
5656
57-
# Check for specific versions in the multi-line string
57+
# Check for specific EESSI version
5858
if echo "$changed_files" | grep -q "easystacks/software.eessi.io/2023.06"; then
59-
EESSI_VERSIONS='["2023.06"]'
59+
EESSI_VERSIONS="2023.06"
6060
elif echo "$changed_files" | grep -q "easystacks/software.eessi.io/2025.06"; then
61-
EESSI_VERSIONS='["2025.06"]'
61+
EESSI_VERSIONS="2025.06"
6262
fi
6363
echo "PR changes related to EESSI VERSION: $EESSI_VERSIONS"
6464

easystacks/software.eessi.io/2023.06/eessi-2023.06-eb-5.2.0-2023b.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ easyconfigs:
44
options:
55
# see https://github.com/easybuilders/easybuild-easyconfigs/pull/25004
66
from-commit: 2ef62609e3e40785dfb28bcb91db143cee5924a5
7-
- EasyBuild-5.2.1.eb

licenses/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
see https://spdx.org/licenses
22

3-
Python function to download SPDX list of licenses is available in `spdx.py`
3+
Test Python function to download SPDX list of licenses is available in `spdx.py`

0 commit comments

Comments
 (0)