mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 01:20:04 +00:00
attempt 3
This commit is contained in:
parent
c91cf465ba
commit
a96c1bb955
1 changed files with 8 additions and 3 deletions
11
.github/workflows/ci.yaml
vendored
11
.github/workflows/ci.yaml
vendored
|
@ -22,13 +22,18 @@ jobs:
|
|||
|
||||
- name: Run Unit Tests
|
||||
id: run_tests
|
||||
outputs:
|
||||
output1: ${{ steps.run_tests.outputs.result }}
|
||||
run: |
|
||||
./luau tests/world.luau >> "$GITHUB_OUTPUT"
|
||||
echo "$GITHUB_OUTPUT"
|
||||
output=$(./luau tests/world.luau)
|
||||
echo "$output"
|
||||
echo "result=$output" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Check Unit Tests
|
||||
env:
|
||||
OUTPUT1: ${{ needs.run_tests.outputs.result }}
|
||||
run: |
|
||||
if [[ "$GITHUB_OUTPUT" == *"0 fails"* ]]; then
|
||||
if [[ "${{ needs.run_tests.outputs.result }}" == *"0 fails"* ]]; then
|
||||
echo "Unit Tests Passed"
|
||||
else
|
||||
echo "Error: One or More Unit Tests Failed."
|
||||
|
|
Loading…
Reference in a new issue