Files
vim-table-mode/.github/workflows/ci.yml
Dhruva Sagar 0df034ed2e Back to matrix
2023-03-01 11:18:45 +05:30

47 lines
1.1 KiB
YAML

name: CI
on:
push:
branches:
- master
- feature/switch-to-vim-testify
pull_request:
branches:
- master
- feature/switch-to-vim-testify
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
name: Vim Table Mode Tests
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
neovim: [false, true]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Checkout vim-testify
uses: actions/checkout@v3
with:
repository: dhruvasagar/vim-testify
path: vim-testify
- name: Install Vim or neovim
uses: rhysd/action-setup-vim@v1
id: vim
with:
neovim: ${{ matrix.neovim }}
- name: Create vimrc
run: echo "set packpath += ${{ github.workspace }}/vim-table-mode, ${{ github.workspace }}/vim-testify" > vimrc
- name: Run unit tests
env:
VIM: ${{ steps.vim.outputs.executable }}
run: ${VIM} -u vimrc +TestifySuite