diff --git a/.github/workflows/java-pr.yml b/.github/workflows/java-pr.yml index aa66f6d581..8568eca5db 100644 --- a/.github/workflows/java-pr.yml +++ b/.github/workflows/java-pr.yml @@ -80,7 +80,7 @@ jobs: uses: ./.github/actions/cleanup-java-env java_unit_tests: name: Unit Tests - # needs: [java_build] + needs: [java_build] timeout-minutes: 60 runs-on: [self-hosted, it] steps: @@ -112,7 +112,7 @@ jobs: if: always() java_integration_smoke_tests_templates: name: Dataflow Templates Integration Smoke Tests - needs: [spotless_check, checkstyle_check] + needs: [spotless_check, checkstyle_check, java_build, java_unit_tests] timeout-minutes: 60 # Run on any runner that matches all the specified runs-on values. runs-on: [self-hosted, it] @@ -142,7 +142,7 @@ jobs: if: always() java_integration_tests_templates: name: Dataflow Templates Integration Tests - # needs: [java_integration_smoke_tests_templates] + needs: [java_integration_smoke_tests_templates] timeout-minutes: 240 # Run on any runner that matches all the specified runs-on values. runs-on: [self-hosted, it] @@ -173,8 +173,8 @@ jobs: java_load_tests_templates: # if: contains(github.event.pull_request.labels.*.name, 'run-load-tests') name: Dataflow Templates Load Tests - # needs: [spotless_check, checkstyle_check, java_integration_tests_templates] - needs: [spotless_check, checkstyle_check] + needs: [spotless_check, checkstyle_check, java_integration_tests_templates] + # needs: [spotless_check, checkstyle_check] timeout-minutes: 600 # Run on any runner that matches all the specified runs-on values. runs-on: [self-hosted]