Skip to content

ci: use luajit-openresty label (luajit-2.1 404s in gh-actions-lua) #2

ci: use luajit-openresty label (luajit-2.1 404s in gh-actions-lua)

ci: use luajit-openresty label (luajit-2.1 404s in gh-actions-lua) #2

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
luaVersion: ["5.1", "5.3", "5.4", "luajit-openresty"]
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: leafo/gh-actions-lua@35bcb06abec04ec87df82e08caa84d545348536e # v10
with:
luaVersion: ${{ matrix.luaVersion }}
- uses: leafo/gh-actions-luarocks@e65774a6386cb4f24e293dca7fc4ff89165b64c5 # v4
- name: Install test dependencies
run: |
luarocks install busted
luarocks install dkjson
- name: Mock test suite
run: busted --verbose
- name: Live suite self-skips without a key
run: busted --run=live --verbose