forked from RIOT-OS/RIOT
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
19879: gh-actions: remove reporting release tests to Matrix r=miri64 a=miri64 Co-authored-by: Martine S. Lenders <[email protected]>
- Loading branch information
Showing
1 changed file
with
0 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -123,7 +123,6 @@ jobs: | |
sudo apt-get install lib32asan6 | ||
- name: Run release tests | ||
timeout-minutes: 350 | ||
id: tests | ||
run: | | ||
RIOTBASE="$GITHUB_WORKSPACE/RIOT" | ||
TOX_ARGS="" | ||
|
@@ -174,27 +173,6 @@ jobs: | |
mkdir test-reports/ | ||
junit2html ${REPORT_XML} ${REPORT_NAME}.html | ||
cp ${REPORT_XML} ${REPORT_NAME}.xml | ||
- name: Generate result message | ||
if: always() | ||
id: generate_results | ||
run: | | ||
if [ "${{ steps.tests.conclusion }}" == "success" ]; then | ||
nice_str="✅ **PASSED**" | ||
elif [ "${{ steps.tests.conclusion }}" == "failure" ]; then | ||
nice_str="❌ **FAILED**" | ||
fi | ||
echo "nice_str=${nice_str}" >> ${GITHUB_OUTPUT} | ||
- name: Report to Matrix channel | ||
if: ${{ always() && steps.generate_results.outputs.nice_str != '' }} | ||
uses: fadenb/[email protected] | ||
with: | ||
homeserver: matrix.org | ||
token: ${{ secrets.RIOT_CI_MATRIX_TOKEN }} | ||
channel: '!UXNJuMzHTSAnwntbbN:utwente.io' | ||
message: | | ||
${{ steps.generate_results.outputs.nice_str}}: Release tests | ||
[${{ matrix.pytest_mark }}, ${{ matrix.sudo }}] on "*${{ github.event_name }}*": | ||
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | ||
- uses: actions/upload-artifact@v2 | ||
if: always() | ||
with: | ||
|