Skip to content

Fix checks for autocommand support #20

Fix checks for autocommand support

Fix checks for autocommand support #20

Workflow file for this run

name: "test status"
on:
- "push"
jobs:
test:
runs-on: "ubuntu-latest"
strategy:
matrix:
include:
- vim_type: "vim"
vim_version: "v8.0.1850"
- vim_type: "vim"
vim_version: "head"
- vim_type: "neovim"
vim_version: "head"
steps:
- name: "checkout"
uses: "actions/checkout@v3"
with:
fetch-depth: 1
- id: "vim"
name: "install ${{ matrix.vim_type }}"
uses: "thinca/action-setup-vim@v1"
with:
vim_version: "${{ matrix.vim_version }}"
vim_type: "${{ matrix.vim_type }}"
download: "available"
- name: "install ruby"
uses: "ruby/setup-ruby@v1"
with:
ruby-version: "3.0"
bundler-cache: true
- name: "run tests"
env:
VSPEC_VIM: "${{ steps.vim.outputs.executable }}"
run: "bundle exec vim-flavor test"
lint:
runs-on: "ubuntu-latest"
steps:
- name: "checkout"
uses: "actions/checkout@v3"
- uses: "actions/setup-python@v4"
with:
python-version: "3.x"
- name: "run vint"
run: |
sudo python3 -m pip install vim-vint
rm -rf t/
vint --color plugin autoload legacy