molt #77
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: integration | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- '**/*.ts' | |
- '.github/workflows/integration.yml' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '**/*.ts' | |
- '.github/workflows/integration.yml' | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: ${{ env.DENO_VERSION }} | |
- name: Check | |
run: deno task check | |
test: | |
strategy: | |
matrix: | |
runner: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
deno_version: | |
- "1.43.x" | |
- "1.x" | |
host_version: | |
- vim: "v9.1.0399" | |
nvim: "v0.9.5" | |
runs-on: ${{ matrix.runner }} | |
steps: | |
- name: Checkout this repo | |
uses: actions/checkout@v4 | |
with: | |
path: "./repo" | |
- name: Checkout denops.vim | |
uses: actions/checkout@v4 | |
with: | |
repository: "vim-denops/denops.vim" | |
path: "./denops.vim" | |
- name: Setup deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: ${{ matrix.deno_version }} | |
- name: Setup Vim | |
uses: rhysd/action-setup-vim@v1 | |
with: | |
version: ${{ matrix.host_version.vim }} | |
- name: Setup Neovim | |
uses: rhysd/action-setup-vim@v1 | |
with: | |
neovim: true | |
version: ${{ matrix.host_version.nvim }} | |
- name: Test | |
run: deno task test | |
env: | |
DENOPS_TEST_DENOPS_PATH: "../denops.vim" | |
working-directory: ./repo |