-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (61 loc) · 1.62 KB
/
Copy pathtest.yml
File metadata and controls
69 lines (61 loc) · 1.62 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: scala-utils testing
on:
push:
branches:
- main
pull_request:
paths-ignore:
- '**.txt'
- '**.md'
jobs:
test:
name: Run tests
strategy:
matrix:
neovim_branch: ['v0.5.0', 'master']
runs-on: ubuntu-latest
env:
NEOVIM_BRANCH: ${{ matrix.neovim_branch }}
steps:
- uses: actions/checkout@v2
- uses: coursier/setup-action@v1
with:
jvm: adopt:11
# Copied/adapted from wbthomason/packer.nvim
- name: Setup build dependencies
run: |
sudo apt update &&
sudo apt install -y \
autoconf \
automake \
cmake \
g++ \
gettext \
gperf \
libjemalloc-dev \
libluajit-5.1-dev \
libmsgpack-dev \
libtermkey-dev \
libtool \
libtool-bin \
libunibilium-dev \
libvterm-dev \
lua-bitop \
lua-lpeg \
lua-mpack \
ninja-build \
pkg-config \
unzip
- name: Build Neovim
run: |
git clone --depth 1 https://github.com/neovim/neovim --branch ${{env.NEOVIM_BRANCH}}
make -C neovim
- name: Prepare plenary
run: |
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ~/.local/share/nvim/site/pack/vendor/start/plenary.nvim
ln -s $(pwd) ~/.local/share/nvim/site/pack/vendor/start
- name: Run tests
run: |
export PATH="neovim/build/bin:${PATH}"
export VIM="neovim/runtime"
make test