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:
Adriaan Zonnenberg
2024-03-30 12:44:25 +01:00
parent c424294e76
commit 73e822c8f4
6 changed files with 28 additions and 45 deletions

22
.github/workflows/test.yml vendored Normal file
View 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 }}