branch: elpa/with-simulated-input
commit 9813acf396260566c24dec6f098fedfe73e24d3d
Author: Ryan C. Thompson <[email protected]>
Commit: Ryan C. Thompson <[email protected]>

    Enable undercover on all tested Emacs versions
---
 .github/workflows/test.yml | 33 ++++++++++++++++++++++-----------
 1 file changed, 22 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 9621e7814a..268f875573 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -21,19 +21,19 @@ jobs:
         emacs_version:
           - 27.1
           - 26.3
-          - 26.2
-          - 26.1
+          # - 26.2
+          # - 26.1
           - 25.3
-          - 25.2
-          - 25.1
+          # - 25.2
+          # - 25.1
           - 24.5
           - 24.4
           - snapshot
-    env:
-      # We only generate a coverage report for one Emacs version
-      # (generally the latest release version) in order to avoid
-      # duplicate reports.
-      coveralls_emacs_version: 27.1
+    # env:
+    #   # We only generate a coverage report for one Emacs version
+    #   # (generally the latest release version) in order to avoid
+    #   # duplicate reports.
+    #   coveralls_emacs_version: 27.1
     steps:
     - name: Set up Emacs
       uses: purcell/setup-emacs@master
@@ -54,8 +54,19 @@ jobs:
         eldev -p -dtT test
 
     - name: Run the test suite in source mode (for undercover)
-      if: ${{ matrix.emacs_version == env.coveralls_emacs_version }}
+      # if: ${{ matrix.emacs_version == env.coveralls_emacs_version }}
       env:
-        COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
+        COVERALLS_FLAG_NAME: Emacs ${{ matrix.emacs_version }}
+        COVERALLS_PARALLEL: 1
+        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+        # COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
       run: |
         eldev -s -dtT test
+  finalize:
+    runs-on: ubuntu-latest
+    if: always()
+    needs: test
+    steps:
+    - name: Finalize Coveralls
+      run: |
+        curl 
"https://coveralls.io/webhook?repo_name=$GITHUB_REPOSITORY&repo_token=${{ 
secrets.GITHUB_TOKEN }}" -d 
"payload[build_num]=$GITHUB_RUN_NUMBER&payload[status]=done"

Reply via email to