aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/tests.yml
blob: 79f3488d88175c49700239ef1cdff4c87ec37d8a (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
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
        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