Attempting to use a docker container instead

This commit is contained in:
Dhruva Sagar
2023-03-01 09:11:07 +05:30
parent 8873d12158
commit 4addf0b92e

View File

@@ -17,29 +17,24 @@ concurrency:
jobs:
tests:
name: Vim Table Mode Tests
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
neovim: [false, true]
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
container:
image: alpine:latest
steps:
- name: Install git & vim
run: apk --no-cache add git vim
- uses: actions/checkout@v3
with:
path: ~/.vim/pack/plugins/start/vim-table-mode
- 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 }}
path: ~/.vim/pack/plugins/start/vim-testify
- name: Run unit tests
env:
VIM: ${{ steps.vim.outputs.executable }}
run: ${VIM} +"set packpath +=${{ github.workspace }},${{ github.workspace }}/vim-testify" +packloadall +"set hidden" +TestifySuite
run: |
cd ~/.vim/pack/plugins/start/vim-table-mode
vim +TestifySuite