-
Notifications
You must be signed in to change notification settings - Fork 29
41 lines (37 loc) · 1004 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
40
41
name: test
on:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.actor }}
cancel-in-progress: true
jobs:
test:
name: Run tests
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
neovim_version: ['v0.9.5', 'v0.10.0']
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 ripgrep
run: |
mkdir ripgrep
cd ripgrep
wget -O - https://github.com/BurntSushi/ripgrep/releases/download/14.1.0/ripgrep-14.1.0-armv7-unknown-linux-musleabi.tar.gz | tar zxf - --strip-component=1
ls
cd ..
./ripgrep/rg foo .
- name: Run tests
run: |
make prepare
env RG_PATH=./ripgrep/rg make test