Test using a matrix of (neo)vim versions #199
Workflow file for this run
This file contains hidden or 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: CI | ||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| pull_request: | ||
| branches: | ||
| - master | ||
| jobs: | ||
| checks: | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| os: [macos-latest, ubuntu-latest] | ||
| vim: | ||
| - version: stable | ||
| neovim: false | ||
| - version: v8.2.0000 | ||
| neovim: false | ||
| exclude: | ||
| - os: macos-latest | ||
| version: v8.2.0000 | ||
|
Check failure on line 25 in .github/workflows/ci.yml
|
||
| neovim: false | ||
| # - version: stable | ||
| # neovim: true | ||
| runs-on: ${{ matrix.os }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: '3.12' | ||
| cache: 'pip' | ||
| - uses: rhysd/action-setup-vim@v1 | ||
| id: vim | ||
| with: | ||
| neovim: ${{ matrix.vim.neovim }} | ||
| version: ${{ matrix.vim.version }} | ||
| - name: Run lint | ||
| run: | | ||
| pip install -r requirements.txt | ||
| make lint VIM=${{ steps.vim.outputs.executable }} | ||
| - name: Run tests | ||
| run: make test VIM=${{ steps.vim.outputs.executable }} | ||