chore(ci): add coveralls finished github action step

This commit is contained in:
Zaiming Shi 2021-04-11 22:29:57 +02:00 committed by Zaiming (Stone) Shi
parent c42dda9d4d
commit df5dc78dff
1 changed files with 12 additions and 0 deletions

View File

@ -122,3 +122,15 @@ jobs:
with:
name: cover
path: _build/test/cover
finish:
needs: run_common_test
runs-on: ubuntu-20.04
steps:
- name: Coveralls Finished
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
curl -v -k https://coveralls.io/webhook \
--header "Content-Type: application/json" \
--data "{\"repo_name\":\"$GITHUB_REPOSITORY\",\"repo_token\":\"$GITHUB_TOKEN\",\"payload\":{\"build_num\":$GITHUB_RUN_ID,\"status\":\"done\"}}"