aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/tests.yml
blob: 0908ee781cf63caf98f8b8238efb4fd2c967bc67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Tests

on:
    push:
        branches:
            - "main"
    pull_request:

jobs:
    tests:
        strategy:
            fail-fast: false
            matrix:
                nvim_version:
                    - v0.10.0
                    - v0.10.1
                    - v0.10.2
                    - v0.10.3
                    - v0.10.4
                    - v0.11.0
                    - v0.11.1
        runs-on: ubuntu-latest
        steps:
            - uses: actions/checkout@v4
            - uses: rhysd/action-setup-vim@v1
              with:
                  neovim: true
                  version: ${{ matrix.nvim_version }}
            - name: Run tests
              run: |
                set -e
                make test
                nvim -u NONE -E -R --headless +'helptags doc' +q