Skip to content

Tests

Tests #4

Workflow file for this run

---
name: Test
on:
pull_request_review:
types: [submitted]
jobs:
tests:
if: github.event.review.state == 'approved'
name: Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-22.04
rev: v0.10.0/nvim-linux64.tar.gz
steps:
- uses: actions/checkout@v4
- name: Restore cache
uses: actions/cache@v4
with:
path: _neovim
key: ${{ runner.os }}-${{ matrix.rev }}
- name: Prepare dependencies
env:
NVIM_DL_BASE: https://github.com/neovim/neovim/releases/download/
run: ./scripts/tests.sh prepare \
${NVIM_DL_BASE}${{ matrix.rev }}
- name: Run tests
env:
PATH: "${PWD}/_neovim/bin:${PATH}"
VIM: "${PWD}/_neovim/share/nvim/runtime"
run: |
./scripts/tests.sh run