ci: update runners to include nightly neovim (#2756)

* ci: update runners to include nightly neovim

* ci: run installer from new remote

* ci: update path rule to monitor workflows folder
This commit is contained in:
kylo252 2022-06-25 17:28:16 +02:00 committed by GitHub
parent e1846580c8
commit 9b528ecf57
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,7 @@ on:
- "master" - "master"
- "rolling" - "rolling"
paths: paths:
- '.github/workflows/**'
- 'lua/**' - 'lua/**'
- 'snapshots/**' - 'snapshots/**'
- 'tests/**' - 'tests/**'
@ -13,33 +14,51 @@ on:
jobs: jobs:
unixish: unixish:
name: ${{ matrix.os }} ${{ matrix.runner }} name: ${{ matrix.os }} ${{ matrix.runner }} (${{ matrix.neovim }})
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- runner: ubuntu-20.04 - runner: ubuntu-latest
os: linux os: linux
- runner: macos-10.15 neovim: v0.7.0
- runner: macos-latest
os: osx os: osx
neovim: v0.7.0
- runner: ubuntu-22.04
os: linux
neovim: nightly
- runner: macos-12
os: osx
neovim: nightly
runs-on: ${{ matrix.runner }} runs-on: ${{ matrix.runner }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install neovim binary - name: Install neovim binary
run: | uses: rhysd/action-setup-vim@v1
echo "$HOME/.local/bin" >> $GITHUB_PATH with:
bash ./utils/installer/install-neovim-from-release neovim: true
version: ${{ matrix.neovim }}
- name: Install LunarVim - name: Install LunarVim
timeout-minutes: 4 timeout-minutes: 4
env:
LV_BRANCH: ${{ github.head_ref || github.ref_name }}
LV_REMOTE: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
run: | run: |
./utils/installer/install.sh --local --no-install-dependencies export PATH="$HOME/.local/bin:$PATH"
installer_url="https://raw.githubusercontent.com/${LV_REMOTE}/${LV_BRANCH}/utils/installer/install.sh"
curl -LSsO "$installer_url"
bash ./install.sh --no-install-dependencies
- name: Run unit-tests - name: Run unit-tests
# NOTE: make sure to adjust the timeout if you start adding a lot of tests # NOTE: make sure to adjust the timeout if you start adding a lot of tests
timeout-minutes: 4 timeout-minutes: 4
run: make test run: |
nvim --version
make test
windows: windows:
name: "windows-latest" name: "windows-latest"