-
Notifications
You must be signed in to change notification settings - Fork 35
49 lines (47 loc) · 1.32 KB
/
mac_neovim.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
48
49
name: mac_neovim
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [macos-latest]
name: [neovim-v04-x64,neovim-nightly-x64]
include:
- name: neovim-v04-x64
os: macos-latest
neovim_version: v0.4.4
- name: neovim-nightly-x64
os: macos-latest
neovim_version: nightly
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v1
- name: Download neovim
shell: bash
run: curl -L https://github.com/neovim/neovim/releases/download/${{matrix.neovim_version}}/nvim-macos.tar.gz -o ~/nvim.tar.gz
- name: Extract neovim
shell: bash
run: tar xzf ~/nvim.tar.gz -C ~/
- name: Download test runner
shell: bash
run: git clone --depth 1 --branch v1.5.5 --single-branch https://github.com/thinca/vim-themis ~/themis
- name: Run tests
shell: bash
run: |
export PATH=~/nvim-osx64/bin:$PATH
export PATH=~/langservers:$PATH
export PATH=~/themis/bin:$PATH
export THEMIS_VIM=nvim
nvim --version
ls -al
export VIRTUALEDIT=0
themis ./spec
export VIRTUALEDIT=1
themis ./spec