branch: elpa/cider
commit 744f008a5ee49c277783998413f5ec1abcc9593a
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>

    Track the Emacs snapshot build in CI
    
    Add an Ubuntu job running the integration suite against the Emacs
    development snapshot, so upcoming deprecations and breaking changes
    surface before they reach a stable release. It's wired as an allowed
    failure via continue-on-error, since the snapshot is expected to break
    from time to time and shouldn't gate the required matrix.
---
 .github/workflows/test.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index a87b19f625..7852c3ddc7 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -23,6 +23,9 @@ jobs:
   integration:
     # Run integration tests for all OSs and EMACS_VERSIONs.
     runs-on: ${{matrix.os}}
+    # The Emacs snapshot build is an early-warning signal, not a gate, so a
+    # failure there mustn't fail the workflow.
+    continue-on-error: ${{ matrix.experimental || false }}
 
     strategy:
       # Don't cancel other matrix jobs when one fails.
@@ -43,6 +46,12 @@ jobs:
           - os: windows-latest
             emacs_version: '30.1'
             java_version: '21'
+          # Track the Emacs development snapshot on Ubuntu to catch upcoming
+          # deprecations early. Allowed to fail (see continue-on-error above).
+          - os: ubuntu-latest
+            emacs_version: 'snapshot'
+            java_version: '21'
+            experimental: true
 
     steps:
     - name: Set up Emacs

Reply via email to