-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (36 loc) · 911 Bytes
/
tests.yml
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
37
38
39
name: Tests
on:
push:
pull_request:
schedule:
- cron: 0 0 1 1 *
jobs:
vader:
strategy:
fail-fast: false
matrix:
editor: [vim, neovim]
version: [stable, nightly]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: rhysd/action-setup-vim@v1
with:
version: ${{ matrix.version }}
neovim: ${{ matrix.editor == 'neovim' }}
configure-args: --enable-python3interp
- run: pip install pynvim
if: ${{ matrix.editor == 'neovim' }}
- run: make test-${{ matrix.editor }}
python:
strategy:
matrix:
python: ['3.7', '3.x']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python }}
- run: make test-python