Skip to content

Commit

Permalink
Merge pull request #290 from vim-denops/fix-ci
Browse files Browse the repository at this point in the history
☕ Change action-setup-vim to rhysd/action-setup-vim
  • Loading branch information
lambdalisue committed Nov 26, 2023
2 parents 8b53173 + ddab969 commit 591abde
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
schedule:
- cron: "0 7 * * 0"
push:
branches:
- main
paths:
- "**.md"
- "**.ts"
Expand Down Expand Up @@ -68,35 +66,33 @@ jobs:
- uses: denoland/setup-deno@v1
with:
deno-version: "${{ matrix.version }}"
- uses: thinca/action-setup-vim@v1
- uses: rhysd/action-setup-vim@v1
id: vim
with:
vim_type: "Vim"
vim_version: "${{ matrix.host_version.vim }}"
download: "never"
version: "${{ matrix.host_version.vim }}"
- name: Check Vim
run: |
echo ${DENOPS_TEST_VIM}
${DENOPS_TEST_VIM} --version
env:
DENOPS_TEST_VIM: ${{ steps.vim.outputs.executable_path }}
- uses: thinca/action-setup-vim@v1
DENOPS_TEST_VIM: ${{ steps.vim.outputs.executable }}
- uses: rhysd/action-setup-vim@v1
id: nvim
with:
vim_type: "Neovim"
vim_version: "${{ matrix.host_version.nvim }}"
neovim: true
version: "${{ matrix.host_version.nvim }}"
- name: Check Neovim
run: |
echo ${DENOPS_TEST_NVIM}
${DENOPS_TEST_NVIM} --version
env:
DENOPS_TEST_NVIM: ${{ steps.nvim.outputs.executable_path }}
DENOPS_TEST_NVIM: ${{ steps.nvim.outputs.executable }}
- name: Test
run: deno task test
env:
DENOPS_TEST_DENOPS_PATH: "./"
DENOPS_TEST_VIM_EXECUTABLE: ${{ steps.vim.outputs.executable_path }}
DENOPS_TEST_NVIM_EXECUTABLE: ${{ steps.nvim.outputs.executable_path }}
DENOPS_TEST_VIM_EXECUTABLE: ${{ steps.vim.outputs.executable }}
DENOPS_TEST_NVIM_EXECUTABLE: ${{ steps.nvim.outputs.executable }}
timeout-minutes: 5
- run: |
deno coverage --unstable .coverage --lcov > coverage.lcov
Expand Down

0 comments on commit 591abde

Please sign in to comment.