Skip to content

Commit

Permalink
Fix workflow to ignore most errors (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
reubeno authored May 21, 2024
1 parent 39a0417 commit 9cbd0d6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci-reports.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
- name: Download code coverage reports
if: steps.get-pr.outputs.pr_number != ''
continue-on-error: true
uses: actions/download-artifact@v4
with:
name: codecov-reports
Expand All @@ -61,6 +62,7 @@ jobs:

- name: Download performance reports
if: steps.get-pr.outputs.pr_number != ''
continue-on-error: true
uses: actions/download-artifact@v4
with:
name: perf-reports
Expand All @@ -70,6 +72,7 @@ jobs:

- name: Download test results
if: steps.get-pr.outputs.pr_number != ''
continue-on-error: true
uses: actions/download-artifact@v4
with:
name: test-reports
Expand All @@ -78,11 +81,13 @@ jobs:
path: reports/

- name: Show published reports
continue-on-error: true
if: steps.get-pr.outputs.pr_number != ''
run: |
ls -lR reports/
- name: "Synthesize event file"
if: steps.get-pr.outputs.pr_number != ''
run: |
echo \
'{
Expand All @@ -98,7 +103,8 @@ jobs:
- name: "Publish test results"
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
if: steps.get-pr.outputs.pr_number != ''
continue-on-error: true
with:
commit: ${{ github.event.workflow_run.head_sha }}
event_file: event-file.json
Expand Down

0 comments on commit 9cbd0d6

Please sign in to comment.