36 lines
698 B
YAML
36 lines
698 B
YAML
name: test
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
test:
|
|
name: Run Test
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: rhysd/action-setup-vim@v1
|
|
id: vim
|
|
with:
|
|
neovim: true
|
|
version: nightly
|
|
|
|
- name: luajit
|
|
uses: leafo/gh-actions-lua@v10
|
|
with:
|
|
luaVersion: "luajit-2.1.0-beta3"
|
|
|
|
- name: luarocks
|
|
uses: leafo/gh-actions-luarocks@v4
|
|
|
|
- name: run test
|
|
shell: bash
|
|
run: |
|
|
luarocks install luacheck
|
|
luarocks install vusted
|
|
vusted ./test
|