smoke test #520
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Makefile CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: leafo/gh-actions-lua@v10 | |
with: | |
luaVersion: "5.1.5" | |
- uses: leafo/gh-actions-luarocks@v4 | |
- name: Install dependencies | |
run: | | |
luarocks install luacov | |
luarocks install luacov-coveralls | |
- name: Check Lua | |
run: | | |
lua -v | |
which lua | |
luarocks list | |
lua -e 'print(require("luacov"))' | |
ls -al .luarocks | |
- name: Run tests | |
run: | | |
make coverage | |
- name: Publish Coverage | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
luacov-coveralls -i 'src/*.lua' |