Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,13 @@ jobs:
run: |
cd ./implants/
# Move junit report if it exists
mv junit.xml junit-implants-${{ matrix.os }}.xml || echo "No JUnit report generated"
JUNIT_PATH=$(find . -name junit.xml | head -n 1)
if [ -n "$JUNIT_PATH" ]; then
mv "$JUNIT_PATH" junit-implants-${{ matrix.os }}.xml
else
echo "No JUnit report generated"
fi

if [ -f junit-implants-${{ matrix.os }}.xml ]; then
npx junit-to-ctrf junit-implants-${{ matrix.os }}.xml -o ctrf-implants-${{ matrix.os }}.json
fi
Expand Down