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

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

[nongnu] elpa/bash-completion a9bd52d352 4/7: Using eldev instead of cas


From: ELPA Syncer
Subject: [nongnu] elpa/bash-completion a9bd52d352 4/7: Using eldev instead of cask on the test workflow.
Date: Mon, 18 Nov 2024 15:59:34 -0500 (EST)

branch: elpa/bash-completion
commit a9bd52d3525ab7a17f056a8ab0534f53be492174
Author: Stephane Zermatten <szermatt@gmx.net>
Commit: Stephane Zermatten <szermatt@gmx.net>

    Using eldev instead of cask on the test workflow.
---
 .github/workflows/test.yml | 65 +++++++++++++++++++++++-----------------------
 1 file changed, 33 insertions(+), 32 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 7fbdc2f145..3f4558d7d8 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,7 +1,12 @@
 name: test
+
 on:
-  push: {branches: [master]}
-  pull_request: {branches: [master]}
+  push:
+    paths-ignore:
+      - '**.md'
+  pull_request:
+    paths-ignore:
+      - '**.md'
 
 jobs:
   test:
@@ -15,46 +20,42 @@ jobs:
           - '27.2'
           - '28.1'
           - '28.2'
-          - 'snapshot'
-        include:
-          - emacs_version: 'snapshot'
-            allow_failure: true
+          - '29.1'
+
     steps:
-    - uses: actions/checkout@v1
-    - uses: purcell/setup-emacs@master
+    - name: Install Nix and set up Emacs
+      uses: jcs090218/setup-emacs@master
       with:
-        version: ${{ matrix.emacs_version }}
-    - uses: conao3/setup-cask@master
+        version: ${{matrix.emacs_version}}
 
-    - name: Run tests
-      if: matrix.allow_failure != true
-      run: 'cask && make test'
+    - name: Install Eldev
+      uses: emacs-eldev/setup-eldev@v1
 
-    - name: Run tests (allow failure)
-      if: matrix.allow_failure == true
-      run: 'cask && make test || true'
-      
-  test-ubuntu-20:
+    - name: Check out the source code
+      uses: actions/checkout@v4
+
+    - name: Test the project
+      run: 'eldev -p -dtT test'
+
+  test:
     runs-on: ubuntu-20.04 # bash 5.0
     strategy:
       matrix:
         emacs_version:
           - '28.2'
-          - 'snapshot'
-        include:
-          - emacs_version: 'snapshot'
-            allow_failure: true
+
     steps:
-    - uses: actions/checkout@v1
-    - uses: purcell/setup-emacs@master
+    - name: Install Nix and set up Emacs
+      uses: jcs090218/setup-emacs@master
       with:
-        version: ${{ matrix.emacs_version }}
-    - uses: conao3/setup-cask@master
+        version: ${{matrix.emacs_version}}
 
-    - name: Run tests
-      if: matrix.allow_failure != true
-      run: 'cask && make test'
+    - name: Install Eldev
+      uses: emacs-eldev/setup-eldev@v1
 
-    - name: Run tests (allow failure)
-      if: matrix.allow_failure == true
-      run: 'cask && make test || true'
+    - name: Check out the source code
+      uses: actions/checkout@v4
+
+    - name: Test the project
+      run: 'eldev -p -dtT test'
+      



reply via email to

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