Skip to content

Add busted test runner via GH Actions #2

Add busted test runner via GH Actions

Add busted test runner via GH Actions #2

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@v4
- name: Setup ‘lua’
uses: leafo/gh-actions-lua@v10
with:
luaVersion: ${{ matrix.luaVersion }}
- name: Setup ‘luarocks’
uses: leafo/gh-actions-luarocks@v4
- name: Setup dependencies
run: |
luarocks install --deps-only lua_cliargs-dev-1.rockspec
luarocks install busted
luarocks install lanes # required for parallel execution
- name: Run regression tests
run: busted -c -v