GitHub Actions: Run tests

This commit is contained in:
Starbeamrainbowlabs 2021-07-30 18:47:21 +01:00
parent 37f25d40a1
commit 6f8c4d0c7c
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -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