mirror of
https://github.com/smoka7/hop.nvim.git
synced 2026-07-21 23:26:58 -04:00
33 lines
646 B
YAML
33 lines
646 B
YAML
name: Tests
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
name: test
|
|
strategy:
|
|
matrix:
|
|
nvim-versions: ['stable', 'nightly']
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- uses: dorny/paths-filter@v2
|
|
id: changed
|
|
with:
|
|
filters: |
|
|
lua:
|
|
- 'lua/**'
|
|
- 'plugin/**'
|
|
- 'tests/**'
|
|
|
|
- uses: rhysd/action-setup-vim@v1
|
|
with:
|
|
neovim: true
|
|
version: ${{ matrix.nvim-versions }}
|
|
|
|
- name: run tests
|
|
if: steps.changed.outputs.lua == 'true'
|
|
run: make test
|