Skip to content

Commit

Permalink
Check all stages pass in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourav Maji committed Nov 13, 2024
1 parent 78de20c commit 5227762
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/VeniceCI-StaticAnalysisAndUnitTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,25 @@ jobs:
runs-on: ubuntu-latest
needs: [ValidateGradleWrapper, StaticAnalysis, UnitTestsAndCodeCoverage]
timeout-minutes: 120
if: success() || failure() # Always run this job, regardless of previous job status
steps:
- name: AllIsWell
shell: bash
- name: Check previous job statuses
run: |
echo "LGTM!"
if [ "${{ needs.ValidateGradleWrapper.result }}" != "success" ]; then
echo "ValidateGradleWrapper failed."
exit 1
fi
if [ "${{ needs.StaticAnalysis.result }}" != "success" ]; then
echo "StaticAnalysis failed."
exit 1
fi
if [ "${{ needs.UnitTestsAndCodeCoverage.result }}" != "success" ]; then
echo "UnitTestsAndCodeCoverage failed."
exit 1
fi
# If all previous jobs were successful, proceed
- name: Final Completion Check
run: echo "All checks passed successfully!"



1 change: 1 addition & 0 deletions clients/da-vinci-client/classHash-1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2110702107

0 comments on commit 5227762

Please sign in to comment.