Skip to content

Commit

Permalink
fix(ci): test against openresty luajit
Browse files Browse the repository at this point in the history
fix: add luajit to tests

fix: remove openresty

chore: add debug log

fix: update gh-actions-lua

fix: invalid value

fix: full commit sha

fix: special case luajit

god, i wish luajit would just build as 'lua'.
  • Loading branch information
aarondill committed Oct 3, 2024
1 parent 5272b05 commit a73e754
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/lua-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ on: [push, workflow_dispatch]
jobs:
run_tests:
strategy:
fail-fast: false
matrix:
luaVersion:
- "5.4.7" # latest stable
- "luajit-2.1.0-beta3" # latest beta luajit
- "luajit-openresty" # latest openresty luajit (luajit stopped publishing versions)
- "5.3.6" # Awesome lua version v4.3
- "5.2.4" # Earliest supported version
runs-on: ubuntu-latest
Expand All @@ -17,4 +18,5 @@ jobs:
luaVersion: ${{ matrix.luaVersion }}
- name: test against lua ${{ matrix.luaVersion }}
run: |
lua ./test/init.lua
lua=$(command -v lua 2>/dev/null|| command -v luajit 2>/dev/null)
"$lua" ./test/init.lua

0 comments on commit a73e754

Please sign in to comment.