Skip to content

Commit

Permalink
Print xml files from test-reports
Browse files Browse the repository at this point in the history
  • Loading branch information
KapStorm committed Sep 4, 2024
1 parent 5bc40b1 commit f553e59
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,19 @@ jobs:
- name: Run test admin controller
run: CI=true sbt "testOnly controllers.AdminControllerSpec"

- name: Print test results
run: |
# Find all XML files in the target/test-reports directory
for file in server/target/test-reports/*.xml; do
if [ -f "$file" ]; then
echo "Contents of $file:"
cat "$file"
echo
else
echo "No XML files found."
fi
done
# TODO uncomment when tests are added
# - name: Check code format
# run: sbt scalafmtCheckAll
Expand Down

0 comments on commit f553e59

Please sign in to comment.