2022-01-01 22:13:13 +08:00
|
|
|
name: integration
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
integration:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Setup neovim
|
|
|
|
uses: rhysd/action-setup-vim@v1
|
|
|
|
with:
|
2022-04-13 10:40:59 +08:00
|
|
|
version: nightly
|
2022-01-01 22:13:13 +08:00
|
|
|
neovim: true
|
|
|
|
|
|
|
|
- name: Setup lua
|
|
|
|
uses: leafo/gh-actions-lua@v8
|
|
|
|
with:
|
|
|
|
luaVersion: "luajit-2.1.0-beta3"
|
|
|
|
|
|
|
|
- name: Setup luarocks
|
|
|
|
uses: leafo/gh-actions-luarocks@v4
|
|
|
|
|
|
|
|
- name: Setup tools
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
luarocks install luacheck
|
|
|
|
luarocks install vusted
|
|
|
|
|
|
|
|
- name: Run tests
|
|
|
|
shell: bash
|
|
|
|
run: make integration
|