Test using a matrix of (neo)vim versions #194
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: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| vim: | |
| - version: stable | |
| - version: v8.2.0000 | |
| # - version: stable | |
| # neovim: true | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| cache: 'pip' | |
| - name: Install vim | |
| uses: rhysd/action-setup-vim@v1 | |
| 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 }} |