mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-30 19:13:53 +01:00
GitHub Actions: Run tests
This commit is contained in:
parent
37f25d40a1
commit
6f8c4d0c7c
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: sudo apt-get install lua5.1
|
run: sudo apt-get --quiet install lua5.1
|
||||||
|
|
||||||
- name: uname -a
|
- name: uname -a
|
||||||
run: uname -a
|
run: uname -a
|
||||||
@ -18,9 +18,7 @@ jobs:
|
|||||||
run: lua -v
|
run: lua -v
|
||||||
|
|
||||||
- name: Perform Check
|
- name: Perform Check
|
||||||
run: |
|
run: find . -type f -name '*.lua' -not -path '*luarocks*' -not -path '*.git/*' -print0 | xargs -0 -n1 -P "$(nproc)" luac -p;
|
||||||
ls -la
|
|
||||||
find . -type f -name '*.lua' -not -path '*luarocks*' -not -path '*.git/*' -print0 | xargs -0 -n1 -P "$(nproc)" luac -p;
|
|
||||||
Busted:
|
Busted:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@ -29,7 +27,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: sudo apt-get install lua5.1 luarocks
|
run: sudo apt-get --quiet install lua5.1 luarocks
|
||||||
|
|
||||||
- name: uname -a
|
- name: uname -a
|
||||||
run: uname -a
|
run: uname -a
|
||||||
@ -38,6 +36,4 @@ jobs:
|
|||||||
run: lua -v
|
run: lua -v
|
||||||
|
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: |
|
run: ./tests.sh run
|
||||||
ls -la
|
|
||||||
./tests.sh
|
|
||||||
|
Loading…
Reference in New Issue
Block a user