add test summary to github actions run (#1724)

This commit is contained in:
Florin Barbu 2023-11-20 08:31:44 +02:00 committed by GitHub
parent e484388723
commit b5e420de91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -97,3 +97,11 @@ jobs:
with: with:
name: ${{ inputs.test_type }}-logs name: ${{ inputs.test_type }}-logs
path: packages/tests/log/ path: packages/tests/log/
- name: Create test summary
if: always() && env.ALLURE_REPORTS == 'true'
run: |
echo "## Run Information" >> $GITHUB_STEP_SUMMARY
echo "- **NWAKU**: ${{ env.WAKUNODE_IMAGE }}" >> $GITHUB_STEP_SUMMARY
echo "## Test Results" >> $GITHUB_STEP_SUMMARY
echo "Allure report will be available at: https://waku-org.github.io/allure-jswaku/${{ github.run_number }}" >> $GITHUB_STEP_SUMMARY