Skip to content

Tests

Tests #14

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.appimage
steps:
- uses: actions/checkout@v4
- name: Restore cache
uses: actions/cache@v4
with:
path: |
_neovim
~/.local/share/nvim/site/pack/vendor/start
key: ${{ runner.os }}-${{ matrix.rev }}
- name: Prepare dependencies
env:
NVIM_DL_BASE: https://github.com/neovim/neovim/releases/download/
run: ./scripts/tests.sh prepare ${{ matrix.rev }}
- name: Run tests
run: ./scripts/tests.sh run