Skip to content

Commit 612c526

Browse files
cdeckerclaude
andcommitted
fix: sanitize artifact names to handle special characters in matrix vars
The valgrind and sanitizer test matrix names contain parentheses and slashes (e.g., 'Valgrind (01/10)', 'ASan/UBSan (01/12)') which are invalid in artifact filenames. Replace these characters with hyphens to ensure reliable artifact uploads. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Haiku 4.5 <[email protected]>
1 parent c7d7a00 commit 612c526

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ jobs:
519519
if: always()
520520
uses: actions/upload-artifact@v4
521521
with:
522-
name: pytest-results-integration-valgrind-${{ matrix.NAME }}
522+
name: pytest-results-integration-valgrind-${{ replace(replace(replace(matrix.NAME, '/', '-'), '(', '-'), ')', '') }}
523523
path: report.xml
524524
if-no-files-found: ignore
525525

@@ -596,7 +596,7 @@ jobs:
596596
if: always()
597597
uses: actions/upload-artifact@v4
598598
with:
599-
name: pytest-results-integration-sanitizers-${{ matrix.NAME }}
599+
name: pytest-results-integration-sanitizers-${{ replace(replace(replace(matrix.NAME, '/', '-'), '(', '-'), ')', '') }}
600600
path: report.xml
601601
if-no-files-found: ignore
602602

0 commit comments

Comments
 (0)