mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-08-21 05:54:06 +02:00
36 lines
800 B
YAML
36 lines
800 B
YAML
name: "CI Tests"
|
|
on: [push]
|
|
jobs:
|
|
Syntax-Check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Install Dependencies
|
|
run: sudo apt-get install lua5.1
|
|
|
|
- name: uname -a
|
|
run: uname -a
|
|
|
|
- name: Lua version
|
|
run: lua -v
|
|
|
|
- name: Perform Check
|
|
run: |
|
|
ls -la
|
|
find . -type f -name '*.lua' -not -path '*luarocks*' -not -path '*.git/*' -print0 | xargs -0 -n1 -P "$(nproc)" luac -p;
|
|
Busted:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Install Dependencies
|
|
run: sudo apt-get install lua5.1 luarocks
|
|
|
|
- name: uname -a
|
|
run: uname -a
|
|
|
|
- name: Lua version
|
|
run: lua -v
|
|
|
|
- name: Run Tests
|
|
run: |
|
|
ls -la
|
|
./tests.sh
|