Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
charlestian23 committed Oct 10, 2023
1 parent 25d559a commit 48479a6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,24 @@ jobs:
- name: Build with Gradle
run: ./gradlew build -x test

- name: Debug Info
run: |
echo "Java version:"
java -version
echo "Gradle version:"
./gradlew --version
shell: bash

- name: Run JUnit Tests on Linux
run: |
./gradlew test
test_result=$?
if [ $test_result -ne 0 ]; then
echo "Tests failed with exit code $test_result"
exit $test_result
fi
shell: bash

- name: Run JUnit Tests
run: |
test_output=$(./gradlew test --quiet | grep -E "tests? passed|tests? failed")
Expand Down

0 comments on commit 48479a6

Please sign in to comment.