Files
vim-table-mode/.github/workflows/ci.yml
Dhruva Sagar 021d8bf025 Try vimrc
2023-03-01 11:13:34 +05:30

43 lines
971 B
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
runs-on: ubuntu-latest
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