branch: elpa/bash-completion
commit ba8be293a460fe5380e50737fde9bf559902a856
Author: Stephane Zermatten <[email protected]>
Commit: Stephane Zermatten <[email protected]>
Added test workflow to run tests on multiple versions of Emacs.
---
.github/workflows/test.yml | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000000..acf5d9fe6f
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,36 @@
+name: test
+on:
+ push: {branches: [master]}
+ pull_request: {branches: [master]}
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ emacs_version:
+ - '24.1'
+ - '24.3'
+ - '25.1'
+ - '25.3'
+ - '26.1'
+ - '26.2'
+ - '26.3'
+ - 'snapshot'
+ include:
+ - emacs_version: 'snapshot'
+ allow_failure: true
+ steps:
+ - uses: actions/checkout@v1
+ - uses: purcell/setup-emacs@master
+ with:
+ version: ${{ matrix.emacs_version }}
+ - uses: conao3/setup-cask@master
+
+ - name: Run tests
+ if: matrix.allow_failure != true
+ run: 'cask && make test'
+
+ - name: Run tests (allow failure)
+ if: matrix.allow_failure == true
+ run: 'cask && make test || true'
\ No newline at end of file