|
36 | 36 | # build and test the standalone CI |
37 | 37 | build: |
38 | 38 | runs-on: ubuntu-latest |
| 39 | + needs: [semantic_pull_request] |
39 | 40 | if: ${{ !github.event.pull_request.draft }} |
40 | 41 | strategy: |
41 | 42 | fail-fast: false |
@@ -104,6 +105,7 @@ jobs: |
104 | 105 | # check if GEOS has label for testing GEOS integration |
105 | 106 | check_integration_label: |
106 | 107 | runs-on: ubuntu-latest |
| 108 | + needs: [build] |
107 | 109 | outputs: |
108 | 110 | has_geos_integration_label: ${{ steps.set-label.outputs.has_label }} |
109 | 111 | steps: |
@@ -135,7 +137,6 @@ jobs: |
135 | 137 | uses: actions/checkout@v4 |
136 | 138 | with: |
137 | 139 | fetch-depth: 0 # Fetch all history to compare with base branch |
138 | | - |
139 | 140 | - name: Check if GEOS integration is required |
140 | 141 | id: check_changes |
141 | 142 | run: | |
@@ -240,16 +241,16 @@ jobs: |
240 | 241 | if: ${{needs.check_geos_integration_required.outputs.geos_integration_required == 'true' }} && ${{ needs.check_integration_label.outputs.has_geos_integration_label == 'true' }} |
241 | 242 | uses: ./.github/workflows/test_geos_integration.yml |
242 | 243 |
|
243 | | - # warn if not used |
244 | | - geos_integration_test_fail: |
245 | | - name: GEOS Integration Test |
246 | | - runs-on: ubuntu-latest |
247 | | - needs: [check_geos_integration_required,check_integration_label] |
248 | | - if: ${{needs.check_geos_integration_required.outputs.geos_integration_required == 'true' }} && ${{ needs.check_integration_label.outputs.has_geos_integration_label == 'false' }} |
249 | | - steps: |
250 | | - - name: Send an error is GEOS-integration is required but no flag is detected |
251 | | - id: send_missing_flag_error |
252 | | - run: echo "You need to test for GEOS-integration please add /test-geos-integration/ label and rerun the CI" |
| 244 | + # # warn if not used |
| 245 | + # geos_integration_test_fail: |
| 246 | + # name: GEOS Integration Test |
| 247 | + # runs-on: ubuntu-latest |
| 248 | + # needs: [check_geos_integration_required,check_integration_label] |
| 249 | + # if: ${{needs.check_geos_integration_required.outputs.geos_integration_required == 'true' }} && ${{ needs.check_integration_label.outputs.has_geos_integration_label == 'false' }} |
| 250 | + # steps: |
| 251 | + # - name: Send an error is GEOS-integration is required but no flag is detected |
| 252 | + # id: send_missing_flag_error |
| 253 | + # run: echo "You need to test for GEOS-integration please add /test-geos-integration/ label and rerun the CI" |
253 | 254 |
|
254 | 255 | # Final validation - Summarize CI results |
255 | 256 | final_validation: |
|
0 commit comments