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

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

[nongnu] elpa/with-simulated-input 138106c256 116/134: Skip coverage cal


From: ELPA Syncer
Subject: [nongnu] elpa/with-simulated-input 138106c256 116/134: Skip coverage calculation on older Emacsen
Date: Mon, 10 Jan 2022 23:00:12 -0500 (EST)

branch: elpa/with-simulated-input
commit 138106c2560615f2a973dbe30494d06543c7d87b
Author: Ryan C. Thompson <rct@thompsonclan.org>
Commit: Ryan C. Thompson <rct@thompsonclan.org>

    Skip coverage calculation on older Emacsen
---
 .github/workflows/test.yml | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 268f875573..8ef0c9461b 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -29,11 +29,11 @@ jobs:
           - 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:
+      # The test suite uses a macro that can't be debugged properly in
+      # versions lower than 27, so we disable coverage on those
+      # versions.
+      coveralls_skip_versions: 24.4 24.5 25.3 26.3
     steps:
     - name: Set up Emacs
       uses: purcell/setup-emacs@master
@@ -54,12 +54,11 @@ jobs:
         eldev -p -dtT test
 
     - name: Run the test suite in source mode (for undercover)
-      # if: ${{ matrix.emacs_version == env.coveralls_emacs_version }}
+      if: ${{ ! contains(env.coveralls_skip_versions, matrix.emacs_version) }}
       env:
         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:



reply via email to

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