chore(ci): add coveralls finished github action step
This commit is contained in:
parent
c42dda9d4d
commit
df5dc78dff
|
@ -122,3 +122,15 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: cover
|
name: cover
|
||||||
path: _build/test/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\"}}"
|
||||||
|
|
Loading…
Reference in New Issue