branch: elpa/kotlin-mode
commit 8fbc1a9d745fadba8cc73b49a425dbc283311a33
Author: taku0 <[email protected]>
Commit: taku0 <[email protected]>
Add GitHub Actions for tests and linters
---
.github/workflows/run-test.yml | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/.github/workflows/run-test.yml b/.github/workflows/run-test.yml
new file mode 100644
index 0000000000..7a1a818916
--- /dev/null
+++ b/.github/workflows/run-test.yml
@@ -0,0 +1,27 @@
+name: Run Tests
+
+on:
+ push:
+ branches: [ main, master ]
+ pull_request:
+ branches: [ main, master ]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ continue-on-error: ${{matrix.version == 'snapshot'}}
+
+ strategy:
+ matrix:
+ # Cask does't support Emacs 24.
+ version: ['25.1', '25.2', '25.3', '26.1', '26.2', '26.3', '27.1',
'27.2', '28.1', '28.2', 'snapshot']
+
+ steps:
+ - uses: actions/checkout@v3
+ - uses: purcell/setup-emacs@master
+ with:
+ version: ${{ matrix.version }}
+ - name: Run linters
+ run: ./scripts/run_linter.sh
+ - name: Run tests
+ run: ./scripts/run_test.sh