Skip to content

Update environment.lua #9

Update environment.lua

Update environment.lua #9

Workflow file for this run

name: spec
on:
push:
branches: [ '*' ]
pull_request:
branches: [ 'master' ]
jobs:
test:
strategy:
fail-fast: false
matrix:
lua-version: ["5.4", "5.3", "5.2", "5.1", "luajit"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: leafo/gh-actions-lua@v8.0.0
with:
luaVersion: ${{ matrix.lua-version }}
- uses: leafo/gh-actions-luarocks@v4.0.0
- name: install
run: |
luarocks install busted
luarocks install luacov
- name: build
run: |
make
- name: test
run: |
make check BUSTED_OPTS='--coverage'
luacov lib/
bash <(curl -s https://codecov.io/bash) -f luacov.report.out