mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 09:30:03 +00:00
Change CI
This commit is contained in:
parent
fa7069249e
commit
ba89d16556
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
|
@ -23,14 +23,14 @@ jobs:
|
||||||
- name: Run Unit Tests
|
- name: Run Unit Tests
|
||||||
id: run_tests
|
id: run_tests
|
||||||
run: |
|
run: |
|
||||||
output=$(./luau tests/world.luau)
|
output=$(./luau test/tests.luau)
|
||||||
echo "$output"
|
echo "$output"
|
||||||
if [[ "$output" == *"0 fails"* ]]; then
|
if [[ "$output" == *"0 fails"* ]]; then
|
||||||
echo "Unit Tests Passed"
|
echo "Unit Tests Passed"
|
||||||
else
|
else
|
||||||
echo "Error: One or More Unit Tests Failed."
|
echo "Error: One or More Unit Tests Failed."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Cleanup Luau Binaries
|
- name: Cleanup Luau Binaries
|
||||||
if: '!cancelled()'
|
if: '!cancelled()'
|
||||||
|
|
Loading…
Reference in a new issue