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

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

[nongnu] elpa/with-simulated-input cc15ccfe5a 062/134: Switch CI to Gith


From: ELPA Syncer
Subject: [nongnu] elpa/with-simulated-input cc15ccfe5a 062/134: Switch CI to Github Actions
Date: Mon, 10 Jan 2022 23:00:05 -0500 (EST)

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

    Switch CI to Github Actions
---
 .github/workflows/test.yml | 57 ++++++++++++++++++++++++++++++++++++++++++++++
 .travis.yml                | 36 -----------------------------
 2 files changed, 57 insertions(+), 36 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000000..2842f69c99
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,57 @@
+name: CI
+
+on:
+  push:
+    paths-ignore:
+      - '**.md'
+  pull_request:
+    paths-ignore:
+      - '**.md'
+
+jobs:
+  test:
+    runs-on: ubuntu-latest
+    strategy:
+      fail-fast: false
+      matrix:
+        emacs_version:
+          - 27.1
+          - 26.3
+          - 26.2
+          - 26.1
+          - 25.3
+          - 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
+    steps:
+    - name: Set up Emacs
+      uses: purcell/setup-emacs@master
+      with:
+        version: ${{matrix.emacs_version}}
+
+    - name: Install Eldev
+      run: curl -fsSL 
https://raw.github.com/doublep/eldev/master/webinstall/github-eldev | sh
+
+    - name: Check out the source code
+      uses: actions/checkout@v2
+
+    - name: Install Elisp dependencies
+      run: eldev prepare test
+
+    - name: Run the test suite
+      run: |
+        eldev -p -dtT test
+
+    # - name: Run the test suite in source mode (for undercover)
+    #   if: ${{ matrix.emacs_version == env.coveralls_emacs_version }}
+    #   env:
+    #     COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
+    #   run: |
+    #     eldev -s -dtT test
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index b6b0fa7ea0..0000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,36 +0,0 @@
-language: nix
-
-env:
-  matrix:
-    - EMACS_CI=emacs-24-4
-    - EMACS_CI=emacs-24-5
-    - EMACS_CI=emacs-25-1
-    - EMACS_CI=emacs-25-2
-    - EMACS_CI=emacs-25-3
-    - EMACS_CI=emacs-26-1
-    - EMACS_CI=emacs-26-2
-    - EMACS_CI=emacs-26-3
-    # - EMACS_CI=emacs-snapshot
-
-matrix:
-  allow_failures:
-  - env: EMACS_CI=emacs-snapshot
-
-before_script:
-  # travis-wait-enhanced
-  - |
-    wget -qO- 
"https://github.com/crazy-max/travis-wait-enhanced/releases/download/v1.1.0/travis-wait-enhanced_1.1.0_linux_x86_64.tar.gz";
 | tar -zxvf - travis-wait-enhanced
-    mv travis-wait-enhanced /home/travis/bin/
-    travis-wait-enhanced --version
-  # Install nix-emacs-ci
-  - bash <(curl 
https://raw.githubusercontent.com/purcell/nix-emacs-ci/master/travis-install)
-  # Install Eldev
-  - curl -fsSL 
https://raw.github.com/doublep/eldev/master/webinstall/travis-eldev > x.sh && 
source ./x.sh
-  # Install elisp dependencies
-  - eldev prepare test
-
-script:
-  # Run in source mode for undercover
-  - travis-wait-enhanced --timeout=3m -- eldev -dtT --loading=source test
-  # Run in packaged mode for testing "actual use" conditions
-  - travis-wait-enhanced --timeout=3m -- eldev -dtT --loading=packaged test



reply via email to

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