24 lines
527 B
YAML
24 lines
527 B
YAML
name: Lua tests
|
|
|
|
# Runs the offline test suite (Amibis/Tests/run.lua) on every push.
|
|
# workflow_dispatch also allows a manual run from the Actions tab.
|
|
on:
|
|
push:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install Lua 5.4
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y lua5.4
|
|
|
|
- name: Run offline test suite
|
|
run: lua5.4 Amibis/Tests/run.lua
|