Fix sporadic codecov uploads fails

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
Vitalii Koshura 2024-04-11 22:32:29 +02:00
parent 0282648259
commit 3097c6f9f9
No known key found for this signature in database
GPG Key ID: CE0DB1726070A5A3
2 changed files with 13 additions and 11 deletions

View File

@ -3,6 +3,7 @@ codecov:
notify: notify:
after_n_builds: 3 after_n_builds: 3
wait_for_ci: yes wait_for_ci: yes
token: ${{ secrets.CODECOV_TOKEN }}
coverage: coverage:
status: status:

View File

@ -26,14 +26,15 @@ jobs:
report: report:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Download artifacts - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 - name: Download artifacts
with: uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
run-id: ${{ github.event.workflow_run.id }} with:
path: test-reports run-id: ${{ github.event.workflow_run.id }}
- uses: dorny/test-reporter@c40d89d5e987cd80f3a32b3c233556e22bdca958 path: test-reports
with: - uses: dorny/test-reporter@c40d89d5e987cd80f3a32b3c233556e22bdca958
name: 'Tests Report' with:
path: 'test-reports/**/*.xml' name: 'Tests Report'
reporter: java-junit path: 'test-reports/**/*.xml'
fail-on-error: false reporter: java-junit
fail-on-error: false