-
Notifications
You must be signed in to change notification settings - Fork 2
53 lines (47 loc) · 1.16 KB
/
tests.yaml
File metadata and controls
53 lines (47 loc) · 1.16 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Neovim Plugin Tests
on:
pull_request:
paths:
- "Makefile"
- ".github/workflows/tests.yaml"
- "examples/**"
- "lua/**"
- "tests/**"
push:
paths:
- "Makefile"
- ".github/workflows/tests.yaml"
- "examples/**"
- "lua/**"
- "tests/**"
env: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.actor }}
cancel-in-progress: true
jobs:
build:
name: Run tests
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
neovim_version: ["v0.11.3", "nightly"]
include:
- os: macos-latest
neovim_version: v0.11.3
# TODO include windows when I have access to test on a windows machine.
# - os: windows-latest
# neovim_version: v0.11.3
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup neovim
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: ${{ matrix.neovim_version }}
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Run tests
run: make test