mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-26 01:50:01 +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
|
- name: Run Unit Tests
|
||||||
id: run_tests
|
id: run_tests
|
||||||
|
outputs:
|
||||||
|
output1: ${{ steps.run_tests.outputs.result }}
|
||||||
run: |
|
run: |
|
||||||
./luau tests/world.luau >> "$GITHUB_OUTPUT"
|
output=$(./luau tests/world.luau)
|
||||||
echo "$GITHUB_OUTPUT"
|
echo "$output"
|
||||||
|
echo "result=$output" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Check Unit Tests
|
- name: Check Unit Tests
|
||||||
|
env:
|
||||||
|
OUTPUT1: ${{ needs.run_tests.outputs.result }}
|
||||||
run: |
|
run: |
|
||||||
if [[ "$GITHUB_OUTPUT" == *"0 fails"* ]]; then
|
if [[ "${{ needs.run_tests.outputs.result }}" == *"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."
|
||||||
|
|
Loading…
Reference in a new issue