Added unittest + basic python and lua unittests (#174)

---------

Co-authored-by: Danymat <d.danymat@gmail.com>
This commit is contained in:
Colin Kennedy
2024-07-23 12:18:14 -04:00
committed by GitHub
parent 6de0add480
commit fef1ab3932
9 changed files with 1027 additions and 2 deletions

27
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
---
on: [push, pull_request]
name: test
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
neovim: [v0.10.0, nightly]
runs-on: ${{ matrix.os }}
name: "OS: ${{ matrix.os }} - Neovim: ${{ matrix.neovim }}"
steps:
- name: Checkout neogen
uses: actions/checkout@v4
with:
repository: danymat/neogen
path: neogen
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: ${{ matrix.neovim }}
- name: Run tests
working-directory: ./neogen
run: |
nvim --version
make test