branch: elpa/go-mode
commit 88ffc9e01111226208e320c4079e36885aa7ed7d
Author: Peter Sanford <[email protected]>
Commit: Muir Manders <[email protected]>
Add github action yaml file to run ert tests
Closes: #303 [via git-merge-pr]
---
.github/workflows/emacs.yml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/.github/workflows/emacs.yml b/.github/workflows/emacs.yml
new file mode 100644
index 0000000..1075d76
--- /dev/null
+++ b/.github/workflows/emacs.yml
@@ -0,0 +1,17 @@
+name: Emacs CI
+on: [push, pull_request]
+jobs:
+
+ test:
+ name: Test
+ runs-on: ubuntu-latest
+ timeout-minutes: 5
+ steps:
+ - name: Install emacs
+ run: sudo apt-get update && sudo apt-get install -y emacs
+
+ - name: Check out code into the Go module directory
+ uses: actions/checkout@v1
+
+ - name: Test
+ run: cd test; emacs --batch -q -l ert -l ../go-mode.el -l
go-indentation-test.el -f ert-run-tests-batch-and-exit