summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorSteven Arcangeli <stevearc@stevearc.com>2023-08-27 18:15:04 -0700
committerSteven Arcangeli <stevearc@stevearc.com>2023-08-27 18:15:09 -0700
commitf87f3ea322b1111e1929d149224ff736c8390db3 (patch)
tree44b11765d02fbb8b88bedafa4bde69ff33d22ad9 /.github
parent446aa570048586f9c13f1ea88e280567f336691e (diff)
test: add a test suite
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/tests.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index ca71ef2..7e5b6e0 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -40,6 +40,28 @@ jobs:
version: v0.15.2
args: --check .
+ run_tests:
+ strategy:
+ matrix:
+ include:
+ - nvim_tag: v0.8.3
+ - nvim_tag: v0.9.1
+
+ name: Run tests
+ runs-on: ubuntu-22.04
+ env:
+ NVIM_TAG: ${{ matrix.nvim_tag }}
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: Install Neovim and dependencies
+ run: |
+ bash ./.github/workflows/install_nvim.sh
+
+ - name: Run tests
+ run: |
+ bash ./run_tests.sh
+
release:
name: release
@@ -48,6 +70,7 @@ jobs:
- luacheck
- stylua
- typecheck
+ - run_tests
runs-on: ubuntu-22.04
steps:
- uses: google-github-actions/release-please-action@v3