Skip to content

Commit

Permalink
Upload test reports (from integration test slash commands) as GitHub …
Browse files Browse the repository at this point in the history
…artifacts (#3416)

* Archive test reports in github workflow

* Archive Test reports only when failures
  • Loading branch information
ChristopheDuong committed May 17, 2021
1 parent 137845a commit 1e8fa3a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@ jobs:
ACTION_RUN_ID: ${{github.run_id}}
# Oracle expects this variable to be set. Although usually present, this is not set by default on Github virtual runners.
TZ: UTC
- name: Archive test reports artifacts
if: github.event.inputs.comment-id && !success()
uses: actions/upload-artifact@v2
with:
name: test-reports
path: |
**/${{ github.event.inputs.connector }}/build/reports/tests/**/**
- name: Report Status
if: github.ref == 'refs/heads/master' && always()
run: ./tools/status/report.sh ${{ github.event.inputs.connector }} ${{github.repository}} ${{github.run_id}} ${{steps.test.outcome}}
Expand Down

0 comments on commit 1e8fa3a

Please sign in to comment.