Skip to content

Commit

Permalink
Fix CI Output
Browse files Browse the repository at this point in the history
  • Loading branch information
gaymeowing committed Jul 28, 2024
1 parent 6466cda commit ee8cb1a
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,20 @@ jobs:

- name: Run Tests
run: |
set +e # Don't exit on error
find libs -name "*test.luau" | while read -r file; do
echo "Running tests for library $file"
echo lune run "$file"
done
echo "Running test: $file"
lune "$file" 2>&1 | tee -a test_output.log
echo "Exit code: $?" >> test_output.log
echo "----------------------------------------" >> test_output.log
done
set -e # Re-enable exit on error
echo "Full test output:"
cat test_output.log
- name: Upload Results
if: always()
uses: actions/upload-artifact@v2
with:
name: test-results
path: test_output.log

0 comments on commit ee8cb1a

Please sign in to comment.