Skip to content

Commit 784c76c

Browse files
committed
Add Vim/Neovim on Github action to perform Vim/Neovim tests
1 parent 03836fd commit 784c76c

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

.github/workflows/test.yml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: deno
22

33
env:
44
DENO_VERSION: 1.x
5+
DENOPS_PATH: "./denops.vim"
56

67
on:
78
schedule:
@@ -42,9 +43,38 @@ jobs:
4243

4344
steps:
4445
- uses: actions/checkout@v2
46+
- uses: actions/checkout@v2
47+
with:
48+
repository: "vim-denops/denops.vim"
49+
path: "denops.vim"
4550
- uses: denoland/setup-deno@main
4651
with:
4752
deno-version: ${{ env.DENO_VERSION }}
53+
- uses: rhysd/action-setup-vim@v1
54+
id: vim
55+
with:
56+
version: "v8.1.2424"
57+
- uses: rhysd/action-setup-vim@v1
58+
id: nvim
59+
with:
60+
neovim: true
61+
version: "v0.4.4"
62+
- name: Check Vim
63+
run: |
64+
echo ${DENOPS_TEST_VIM}
65+
${DENOPS_TEST_VIM} --version
66+
env:
67+
DENOPS_TEST_VIM: ${{ steps.vim.outputs.executable }}
68+
- name: Check Neovim
69+
run: |
70+
echo ${DENOPS_TEST_NVIM}
71+
${DENOPS_TEST_NVIM} --version
72+
env:
73+
DENOPS_TEST_NVIM: ${{ steps.nvim.outputs.executable }}
4874
- name: Test
4975
run: |
50-
deno test
76+
deno test --unstable -A
77+
env:
78+
DENOPS_TEST_VIM: ${{ steps.vim.outputs.executable }}
79+
DENOPS_TEST_NVIM: ${{ steps.nvim.outputs.executable }}
80+
timeout-minutes: 5

0 commit comments

Comments
 (0)