1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #15779 from miri64/gh-actions/fix/release-test-artifact-name

release-tests: fix artifact naming and steps cleanup for matrix build
This commit is contained in:
Martine Lenders 2021-01-20 13:08:08 +01:00 committed by GitHub
commit c2cbc0bc71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,6 +100,7 @@ jobs:
fi
docker pull riot/riotbuild:$DOCKER_VERSION
- name: Create TAP interfaces
if: ${{ matrix.pytest_mark == 'not iotlab_creds' }}
run: |
sudo RIOT/dist/tools/tapsetup/tapsetup -c 11
- name: Run release tests
@ -144,11 +145,12 @@ jobs:
else
VER=$(git -C $GITHUB_WORKSPACE/RIOT rev-parse --short HEAD)
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/
junit2html $GITHUB_WORKSPACE/Release-Specs/test-report.xml \
test-reports/test-report-native-$VER-$DATE.html
cp $GITHUB_WORKSPACE/Release-Specs/test-report.xml \
test-reports/test-report-native-$VER-$DATE.xml
junit2html ${REPORT_XML} ${REPORT_NAME}.html
cp ${REPORT_XML} ${REPORT_NAME}.xml
- uses: actions/upload-artifact@v2
if: always()
with: