Skip to content

Commit 83a6d7c

Browse files
committed
ci: Add ARM skip marker commit step in workflows
- Introduced a step to commit and push ARM skip markers when tests fail on the linux/arm64 platform. - Configured Git user details for the bot to handle commits automatically.
1 parent c4c70ca commit 83a6d7c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/wave.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,15 @@ jobs:
9797
echo "Created ARM skip marker at $SKIP_FILE"
9898
cat "$SKIP_FILE"
9999
100+
- name: Commit ARM skip marker
101+
if: ${{ failure() && matrix.platform == 'linux/arm64' }}
102+
run: |
103+
git config user.email "[email protected]"
104+
git config user.name "nf-core-bot"
105+
git add .
106+
git commit -m "Add ARM test skip marker for $(dirname "${{ matrix.files }}")" || exit 0
107+
git push
108+
100109
dockerfile-wave:
101110
# NOTE This should get skipped because generate-matrix won't run
102111
# if: github.repository == 'nf-core/modules'
@@ -151,6 +160,15 @@ jobs:
151160
echo "Created ARM skip marker at $SKIP_FILE"
152161
cat "$SKIP_FILE"
153162
163+
- name: Commit ARM skip marker
164+
if: ${{ failure() && matrix.platform == 'linux/arm64' }}
165+
run: |
166+
git config user.email "[email protected]"
167+
git config user.name "nf-core-bot"
168+
git add .
169+
git commit -m "Add ARM test skip marker for $(dirname "${{ matrix.files }}")" || exit 0
170+
git push
171+
154172
# bump-versions:
155173
# needs: generate-matrix
156174
# name: bump-versions

0 commit comments

Comments
 (0)