mirror of
https://github.com/posva/vim-vue.git
synced 2026-01-24 08:01:49 +08:00
Migrate to GitHub Actions
Introduces a configuration for GitHub Actions to test with various operating systems and versions of Vim.
This commit is contained in:
22
.github/workflows/test.yml
vendored
Normal file
22
.github/workflows/test.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
editor: [vim, neovim]
|
||||
version: [stable, nightly]
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: rhysd/action-setup-vim@v1
|
||||
with:
|
||||
version: ${{ matrix.version }}
|
||||
neovim: ${{ matrix.editor == 'neovim' }}
|
||||
- run: make test-${{ matrix.editor }}
|
||||
Reference in New Issue
Block a user