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