Skip to content

Add .luaurc

Add .luaurc #125

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- name: Install Lua
uses: leafo/gh-actions-lua@master
with:
luaVersion: 5.1
- name: Install Luarocks
uses: leafo/gh-actions-luarocks@master
- name: Install Luarocks Packages
run: |
luarocks install busted
luarocks install luacheck
luarocks install luacov
luarocks install luacov-reporter-lcov
luarocks install luafilesystem
luarocks install md5
- name: Verify LuaCheck
run: luacheck lib
- name: Run Tests
run: |
lua -lluacov spec.lua
luacov -r lcov
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: ./luacov.report.out