call #14
This file contains 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: unit-tests | |
on: [push, pull_request] | |
jobs: | |
unit_test: | |
name: unit_test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
vim: | |
- nightly | |
- v9.0.0000 | |
os: [ubuntu-latest, macos-latest] | |
steps: | |
- name: Setup Vim | |
uses: rhysd/action-setup-vim@v1 | |
id: vim | |
with: | |
version: ${{ matrix.vim }} | |
- name: Checkout vim9-conversion-aid plugin code | |
uses: actions/checkout@v4 | |
- name: Run Tests | |
run: | | |
uname -a | |
export VIMPRG=${{ steps.vim.outputs.executable }} | |
$VIMPRG --version | |
cd test | |
source ./run_tests.sh 1 | |
unit_test_windows: | |
name: unit_test_windows | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
vim: | |
- nightly | |
- v9.0.0000 | |
steps: | |
- name: Setup Vim | |
uses: rhysd/action-setup-vim@v1 | |
id: vim | |
with: | |
version: ${{ matrix.vim }} | |
- name: Checkout vim9-conversion-aid replica plugin code | |
uses: actions/checkout@v4 | |
- name: Run Tests | |
run: | | |
systeminfo | |
echo "Vim command setup." | |
$Env:VIMPRG = "${{ steps.vim.outputs.executable }}" | |
& $Env:VIMPRG --version | |
cd test | |
.\run_tests.cmd |