.github: add timeout when sending coverage reports

We also make it cancelable.
This commit is contained in:
yyforyongyu
2025-07-17 21:00:35 +08:00
parent f2e1c11593
commit af2f935ab7

View File

@@ -599,9 +599,10 @@ jobs:
# Notify about the completion of all coverage collecting jobs. # Notify about the completion of all coverage collecting jobs.
finish: finish:
name: Send coverage report name: Send coverage report
if: ${{ always() }} if: ${{ !cancelled() }}
needs: [unit-test, basic-integration-test] needs: [unit-test, basic-integration-test]
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 5
steps: steps:
- name: Send coverage - name: Send coverage
uses: coverallsapp/github-action@v2 uses: coverallsapp/github-action@v2