release-tests: fix artifact naming for matrix build
This commit is contained in:
parent
bd5b195433
commit
50c5847eca
9
.github/workflows/release-test.yml
vendored
9
.github/workflows/release-test.yml
vendored
@ -134,11 +134,12 @@ jobs:
|
|||||||
else
|
else
|
||||||
VER=$(git -C $GITHUB_WORKSPACE/RIOT rev-parse --short HEAD)
|
VER=$(git -C $GITHUB_WORKSPACE/RIOT rev-parse --short HEAD)
|
||||||
fi
|
fi
|
||||||
|
MARK=$(echo "${{ matrix.pytest_mark }}" | tr '[ _]' '-')
|
||||||
|
REPORT_XML=$GITHUB_WORKSPACE/Release-Specs/test-report.xml
|
||||||
|
REPORT_NAME=test-reports/test-report-$MARK-$VER-$DATE
|
||||||
mkdir test-reports/
|
mkdir test-reports/
|
||||||
junit2html $GITHUB_WORKSPACE/Release-Specs/test-report.xml \
|
junit2html ${REPORT_XML} ${REPORT_NAME}.html
|
||||||
test-reports/test-report-native-$VER-$DATE.html
|
cp ${REPORT_XML} ${REPORT_NAME}.xml
|
||||||
cp $GITHUB_WORKSPACE/Release-Specs/test-report.xml \
|
|
||||||
test-reports/test-report-native-$VER-$DATE.xml
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user