Skip to content

Commit

Permalink
Test summary added
Browse files Browse the repository at this point in the history
  • Loading branch information
DHANYA KUMAR VG authored and DHANYA KUMAR VG committed Feb 6, 2025
1 parent 371ab65 commit 42662f0
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- mlh41-integration-tests

jobs:
wait-for-revision:
wait-for-deployment:
runs-on: ubuntu-latest
steps:
- name: Get commit ID
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
echo "❌ ERROR: Max retries reached. Commit ID did not match the revision."
exit 1
run-integration-tests:
setup-java-sdk:
runs-on: ubuntu-latest
steps:
- name: Checkout Java SDK Repo
Expand Down Expand Up @@ -87,7 +87,8 @@ jobs:
echo "tests=$json_tests" >> $GITHUB_OUTPUT
integration-test:
needs:
- run-integration-tests
- wait-for-deployment
- setup-java-sdk
- list-integration-tests
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -163,6 +164,12 @@ jobs:
echo "ALL_TESTS_PASSED=true" >> $GITHUB_ENV
fi
- name: Output Test Summary to Logs
run: |
echo "--------------------------------------------------"
echo "✅ Printing the test summary before posting to PR"
echo "--------------------------------------------------"
cat test-summary.md # This prints the content of test-summary.md into the GitHub Actions logs
- name: Post Comment on PR
uses: mshick/add-pr-comment@v2
Expand Down

0 comments on commit 42662f0

Please sign in to comment.