Skip to content

fix(metatable): Evaluate callability by fetching meta-fields with raw… #33

fix(metatable): Evaluate callability by fetching meta-fields with raw…

fix(metatable): Evaluate callability by fetching meta-fields with raw… #33

Workflow file for this run

name: Busted
on: [ push, pull_request ]
jobs:
busted:
strategy:
fail-fast: false
matrix:
luaVersion: [ "5.4", "5.3", "5.2", "5.1", "luajit" ] # , "luajit-openresty" ]
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ‘lua’
uses: leafo/gh-actions-lua@v9
with:
luaVersion: ${{ matrix.luaVersion }}
- name: Setup ‘luarocks’
uses: leafo/gh-actions-luarocks@v4
- name: Setup dependencies
run: |
luarocks install busted
luarocks install luacov-coveralls
- name: Replace system luassert with self
run: |
luarocks remove luassert --force
luarocks make
- name: Run regression tests
# disable project-local path prefixes to force use of system installation
run: busted --coverage --lpath="" --cpath="" -Xoutput --color
- name: Report test coverage
if: ${{ success() && github.repository == 'lunarmodules/luassert' }}
continue-on-error: true
run: luacov-coveralls -i src -e .luarocks
env:
COVERALLS_REPO_TOKEN: ${{ github.token }}