Merge pull request #43 from ej-shafran/nightly #182
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
branches: | |
- main | |
jobs: | |
test: | |
name: Plenary Busted Tests | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
nvim_version: | |
- 0.10.0 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
path: compile-mode.nvim | |
- name: Setup `plenary.nvim` | |
uses: actions/checkout@v4 | |
with: | |
repository: nvim-lua/plenary.nvim | |
path: plenary.nvim | |
- name: Install Neovim | |
uses: MunifTanjim/setup-neovim-action@v1 | |
with: | |
tag: v${{ matrix.nvim_version }} | |
if: matrix.os != 'windows-latest' | |
- name: Install Neovim (Windows) | |
run: | | |
choco install neovim --version=${{ matrix.nvim_version }} | |
echo 'C:\tools\neovim\nvim-win64\bin' | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | |
if: matrix.os == 'windows-latest' | |
- name: Run Tests | |
run: | | |
cd compile-mode.nvim | |
make setup-ci | |
make test |