Skip to content

Commit

Permalink
new(action): upload raw testing report
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Guerra <luca@guerra.sh>
  • Loading branch information
LucaGuerra committed Apr 11, 2024
1 parent f0b0c12 commit 52bfbf6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,18 @@ runs:
id: store-outputs
shell: bash
run: |
echo "report=${{ github.action_path }}/report.xml" >> $GITHUB_OUTPUT
echo "report=$(realpath ${{ github.action_path }}/report.xml)" >> $GITHUB_OUTPUT
- name: Test Summary
if: always() # note: upload the report even if tests fail
uses: test-summary/action@62bc5c68de2a6a0d02039763b8c754569df99e3f
with:
paths: "${{ github.action_path }}/report.xml"
show: ${{ inputs.show-all && 'all' || 'fail' }}

- name: Upload Test Summary
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: falcosecurity-testing-report
path: ${{ steps.store-outputs.outputs.report }}
if: always()

0 comments on commit 52bfbf6

Please sign in to comment.