-
Notifications
You must be signed in to change notification settings - Fork 42
47 lines (43 loc) · 1.32 KB
/
run-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
42
43
44
45
46
47
name: run-tests
on: [push, pull_request]
jobs:
run-tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-18.04
- ubuntu-20.04
- ubuntu-22.04
vim-flavour:
- vim
- neovim
steps:
- uses: actions/checkout@v2
- name: Install vim
if: ${{ matrix.vim-flavour == 'vim' }}
run: |
sudo apt update
sudo apt install vim vim-gtk xvfb
- name: Install neovim
if: ${{ matrix.vim-flavour == 'neovim' }}
run: |
sudo apt update
sudo apt install neovim python3-neovim xvfb
- name: Install vroom
env:
VROOM_VERSION: 0.14.0
run: |
wget https://github.com/google/vroom/releases/download/v${VROOM_VERSION}/vroom_${VROOM_VERSION}-1_all.deb
sudo dpkg -i ./vroom_${VROOM_VERSION}-1_all.deb
- name: Run tests (vim)
if: ${{ matrix.vim-flavour == 'vim' }}
timeout-minutes: 30
run: |
xvfb-run script -q -e -c 'vroom --crawl --skip=vroom/system-job.vroom'
- name: Run tests (neovim)
if: ${{ matrix.vim-flavour == 'neovim' }}
continue-on-error: true
timeout-minutes: 30
run: |
xvfb-run script -q -e -c 'vroom --neovim --crawl --skip=vroom/system-job.vroom'