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

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

[nongnu] scratch/el-mock 40a4e003e1 48/64: Add Github Actions


From: Stefan Monnier
Subject: [nongnu] scratch/el-mock 40a4e003e1 48/64: Add Github Actions
Date: Mon, 28 Aug 2023 23:01:41 -0400 (EDT)

branch: scratch/el-mock
commit 40a4e003e10557d5e124564d033ff3f4b7bdbcc9
Author: robert.irelan <robert.irelan@bytedance.com>
Commit: robert.irelan <robert.irelan@bytedance.com>

    Add Github Actions
---
 .github/workflows/main.yml | 47 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000000..2c08ccce84
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,47 @@
+name: Test
+
+on: [push, pull_request, workflow_dispatch]
+
+jobs:
+  test:
+    runs-on: ubuntu-latest
+
+    strategy:
+      matrix:
+        emacs_version: ['24.4', '24.5', '25.1', '25.2', '26.1', '27.1', 
'snapshot']
+        cask_version: ['snapshot']
+
+    steps:
+    - name: Checkout repo
+      uses: actions/checkout@v2
+
+    - name: Install Python
+      uses: actions/setup-python@v2
+      with:
+        python-version: '3.6'
+        architecture: 'x64'
+
+    - name: Install Emacs
+      uses: purcell/setup-emacs@master
+      with:
+        version: ${{matrix.emacs_version}}
+
+    - name: Install Cask
+      uses: conao3/setup-cask@master
+      with:
+        version: 'snapshot'
+
+    - name: Install dependencies
+      run: cask install
+
+    - name: Test
+      run: make test
+
+    - name: SSH into container on failure
+      if: ${{ false }}
+      # You can use this if statement to enable this during development.
+      #if: ${{ failure() }}
+      uses: lhotari/action-upterm@v1
+      with:
+        ## limits ssh access and adds the ssh public key for the user which 
triggered the workflow
+        limit-access-to-actor: true



reply via email to

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