Skip to content

Commit

Permalink
ci: readded basic test step but with condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasgeiler committed Apr 6, 2024
1 parent 867091c commit ee971d4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,13 @@ jobs:

- name: Setup LuaRocks
uses: hishamhm/gh-actions-luarocks@master
with:
luarocksVersion: 3.11.0

- name: Run luarocks build
# Currently does not work for LuaJIT on Windows (lua library not found)
if: matrix.os != 'windows-latest' || matrix.lua_version != 'luajit'
run: luarocks build

- name: Run basic test
# Currently does not work for Windows (can't import 'fenster')
if: matrix.os != 'windows-latest'
run: lua -e "local fenster = require('fenster');print(fenster.time())"

0 comments on commit ee971d4

Please sign in to comment.