Skip to content

Commit 1665ce8

Browse files
authored
Create grade-junit.sh
1 parent 2c3ff9a commit 1665ce8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/grade-junit.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/sh
2+
passed=$1
3+
failed=$2
4+
skipped=$3
5+
total=$((passed + failed + skipped))
6+
7+
if [ -n "$GITHUB_OUTPUT" ]; then
8+
echo "total=$total" >> "$GITHUB_OUTPUT"
9+
fi
10+
11+
echo "$passed of $total tests passed"

0 commit comments

Comments
 (0)