emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/d-mode 7fdd7b2 343/346: .github/workflows/test.yml: Add fi


From: ELPA Syncer
Subject: [nongnu] elpa/d-mode 7fdd7b2 343/346: .github/workflows/test.yml: Add final step to call the Coveralls webhook
Date: Sun, 29 Aug 2021 11:00:56 -0400 (EDT)

branch: elpa/d-mode
commit 7fdd7b2982c2a9e403efc70dc860a6791e791db7
Author: Vladimir Panteleev <git@thecybershadow.net>
Commit: Vladimir Panteleev <git@thecybershadow.net>

    .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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]