Skip to content

Commit 81e4441

Browse files
author
torri
committed
testing an idea
1 parent 8d3cdf8 commit 81e4441

2 files changed

Lines changed: 17 additions & 4 deletions

File tree

.github/workflows/check_licenses.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,18 @@ jobs:
2424
with:
2525
python-version: '3.9'
2626

27-
- name: Check if an EasyStack has been modified
28-
id: diff
27+
- name: If an EasyStack has been modified, create a mini EasyStack file to parse
2928
run: |
3029
git fetch origin ${{ github.base_ref }}
31-
echo "🔍 Files changed between PR and base branch:"
32-
git diff --name-only origin/${{ github.base_ref }} HEAD | grep ".yml"
30+
FILES=$(git diff --name-only origin/${{ github.base_ref }} HEAD | grep "eessi-*.yml" )
31+
echo "Easystacks between PR and base branch:"
32+
echo $FILES
33+
for FILE in "${FILES[@]}"; do
34+
echo "Diff for $FILE:"
35+
git diff origin/${{ github.base_ref }} HEAD -- "$FILE" >> new.${FILE}
36+
done
37+
38+
- name: Parse this EasyStack
39+
run: |
40+
cat new.*
41+

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,7 @@ easyconfigs:
4545
options:
4646
# see https://github.com/easybuilders/easybuild-easyconfigs/pull/22469
4747
from-commit: fc22841fef99cbb2a221c18029b15e692e78c27c
48+
- Scalasca-2.6.1-gompi-2023b.eb:
49+
options:
50+
# see https://github.com/easybuilders/easybuild-easyconfigs/pull/21135
51+
from-commit: 42baaa17c667c5ebde39eca004cc2c8ffb7050a1

0 commit comments

Comments
 (0)