aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/tests.yml
blob: 844868f813c3ce8adf6bc32fac339edf33710161 (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
34
35
36
name: Tests

on:
    push:
        branches:
            - "main"
    pull_request:
    schedule:
        - cron: 0 8 * * *

jobs:
    tests:
        strategy:
            fail-fast: false
            matrix:
                nvim_version:
                    - v0.9.0
                    - v0.9.1
                    - v0.9.2
                    - v0.9.4
                    - v0.9.5
                    - v0.10.0
                    - v0.10.1
                    - v0.10.2
        runs-on: ubuntu-latest
        steps:
            - uses: actions/checkout@v2
            - 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