Skip to content

Commit 88c55d5

Browse files
committed
ci: Replace ARM failure management with skip marker system
- Removed scripts for managing ARM build failures and filtering tests. - Introduced `filter_arm_tests.py` to skip ARM tests based on `.skip-arm` marker files. - Updated GitHub Actions workflows to utilize the new skip marker system. - Revised documentation to reflect changes in ARM test management.
1 parent 935805d commit 88c55d5

File tree

7 files changed

+136
-587
lines changed

7 files changed

+136
-587
lines changed

.github/scripts/filter_arm_failure_tests.py

Lines changed: 0 additions & 124 deletions
This file was deleted.

.github/scripts/filter_arm_tests.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/usr/bin/env python
2+
"""Skip ARM tests for modules with .skip-arm marker files"""
3+
import json, sys, os
4+
5+
def main():
6+
if len(sys.argv) != 2:
7+
print(json.dumps([]))
8+
return
9+
10+
paths = json.loads(sys.argv[1])
11+
filtered = []
12+
13+
for path in paths:
14+
# Extract module dir (modules/nf-core/xxx or subworkflows/nf-core/xxx)
15+
parts = path.split("/")
16+
if len(parts) >= 3 and parts[1] == "nf-core":
17+
module_dir = "/".join(parts[:3])
18+
if os.path.exists(f"{module_dir}/.skip-arm"):
19+
print(f"⚠️ Skipping ARM tests for {path}", file=sys.stderr)
20+
continue
21+
filtered.append(path)
22+
23+
print(json.dumps(filtered))
24+
25+
if __name__ == "__main__": main()

.github/scripts/manage_arm_failures.py

Lines changed: 0 additions & 163 deletions
This file was deleted.

0 commit comments

Comments
 (0)