aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/tests.yml
blob: 44af09c7247a506f49181da166d5356d3de87145 (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
name: Tests

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

jobs:
    tests:
        strategy:
            fail-fast: false
            matrix:
                nvim_version:
                    - v0.11.0
                    - v0.11.1
        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