branch: externals/sql-indent
commit 56be39775c1c7a861d6e90d9a64d901aed7e2fb1
Author: Alex Harsányi <alex-...@users.noreply.github.com>
Commit: GitHub <nore...@github.com>

    Create GH Action for build and test (#91)
    
    ... same functionality as Travis.yml
---
 .github/workflows/main.yml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..7424994
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,22 @@
+name: CI
+
+on:
+  pull_request:
+  push:
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        emacs_version:
+          - 26.3
+    steps:
+    - uses: purcell/setup-emacs@master
+      with:
+        version: ${{ matrix.emacs_version }}
+    - uses: actions/checkout@v1
+    - name: Byte Compile Files
+      run: 'emacs -batch -Q --no-site-file -L . -f batch-byte-compile *.el'
+    - name: Run Tests
+      run: 'emacs -batch -Q --no-site-file -L . -l sql-indent-test.el -f 
ert-run-tests-batch-and-exit'

Reply via email to