Skip to content

Commit

Permalink
Fix dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekagarwal87 committed Jan 9, 2025
1 parent aa3c403 commit ecf7f91
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/unit-and-integration-tests-unified.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ jobs:
# check if it is a PR and if it is approved. For approved PRs, we do not want to run tests sequentially
check-approval:
needs: build
runs-on: ubuntu-latest
outputs:
approved: ${{ steps.check.outputs.isApproved }}
Expand Down Expand Up @@ -194,15 +193,15 @@ jobs:
unit-tests-unapproved:
name: "unit tests - PR unapproved - (jdk17)"
uses: ./.github/workflows/unit-tests.yml
needs: check-approval
needs: [build, check-approval]
if: ${{ needs.check-approval.outputs.approved != 'true' }}
with:
jdk: 17

unit-tests-approved:
name: "unit tests - PR approved - (jdk17)"
uses: ./.github/workflows/unit-tests.yml
needs: check-approval
needs: [build, check-approval]
if: ${{ needs.check-approval.outputs.approved == 'true' }}
with:
jdk: 17
Expand Down

0 comments on commit ecf7f91

Please sign in to comment.