mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-11 01:55:48 +08:00
37 lines
698 B
YAML
37 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@v3
|
||
|
- 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
|