branch: elpa/d-mode
commit 7fdd7b2982c2a9e403efc70dc860a6791e791db7
Author: Vladimir Panteleev <[email protected]>
Commit: Vladimir Panteleev <[email protected]>
.github/workflows/test.yml: Add final step to call the Coveralls webhook
Necessary to finalize the build and get Coveralls to render the results.
---
.github/workflows/test.yml | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index ea827df..ac9ed05 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,5 +1,8 @@
name: Test
on: [ push, pull_request ]
+env:
+ COVERALLS_PARALLEL: 1
+ COVERALLS_REPO_TOKEN: f3VyR3js03R8zyeA32NWscNBNTR7OYR5k
jobs:
test:
runs-on: ubuntu-20.04
@@ -23,4 +26,10 @@ jobs:
- name: Test
run: |
cask install
- COVERALLS_PARALLEL=1
COVERALLS_REPO_TOKEN=f3VyR3js03R8zyeA32NWscNBNTR7OYR5k make test
+ make test
+ finalize:
+ runs-on: ubuntu-20.04
+ if: always()
+ needs: test
+ steps:
+ - run: curl
"https://coveralls.io/webhook?repo_token=$COVERALLS_REPO_TOKEN" -d
"payload[build_num]=$GITHUB_RUN_ID&payload[status]=done"