Add .gitea/workflows/tests.yaml per the Gitea Actions quick start: check out the repo, install Lua 5.4, then run the offline suite (lua5.4 Amibis/Tests/run.lua). A failed test fails the job. Document the workflow in README, AGENTS.md, and the tests README.
This commit is contained in:
1 parent
d8fefc947e
commit
f46b039328
4 files changed
+29
-1
No files matched your search
@@ -0,0 +1,19 @@
|
||||
name: Lua tests
|
||||
|
||||
# Runs the offline test suite (Amibis/Tests/run.lua) on every push.
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
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
|
||||
Reference in new issue
Block a user