File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3939 test-all-metadata :
4040 name : " 🧪 ${{ matrix.coordinates }} (GraalVM for JDK ${{ matrix.version }} @ ${{ matrix.os }})"
4141 runs-on : ${{ matrix.os }}
42- timeout-minutes : 120
42+ timeout-minutes : 240
4343 needs : get-all-metadata
4444 strategy :
4545 fail-fast : false
Original file line number Diff line number Diff line change 5151 name : " 🧪 ${{ matrix.coordinates }} (GraalVM for JDK ${{ matrix.version }} @ ${{ matrix.os }})"
5252 if : needs.get-changed-metadata.outputs.relevant-files-changed == 'true' && needs.get-changed-metadata.result == 'success' && needs.get-changed-metadata.outputs.none-found != 'true' && github.repository == 'oracle/graalvm-reachability-metadata'
5353 runs-on : ${{ matrix.os }}
54- timeout-minutes : 120
54+ timeout-minutes : 240
5555 needs : get-changed-metadata
5656
5757 strategy :
@@ -90,20 +90,20 @@ jobs:
9090 - name : " 🧪 Run '${{ matrix.coordinates }}' tests for all tested versions"
9191 run : |
9292 GAV_COORDINATES="${{ matrix.coordinates }}"
93-
93+
9494 # Extract tested versions for the metadata-version from index.json
9595 GROUP_ID=$(echo "$GAV_COORDINATES" | cut -d: -f1)
9696 ARTIFACT_ID=$(echo "$GAV_COORDINATES" | cut -d: -f2)
9797 METADATA_VERSION=$(echo "$GAV_COORDINATES" | cut -d: -f3)
98-
98+
9999 INDEX_FILE="metadata/$GROUP_ID/$ARTIFACT_ID/index.json"
100-
100+
101101 # Build JSON array of tested-version for the metadata-version
102102 VERSIONS_JSON=$(jq -r --arg mv "$METADATA_VERSION" '.[] | select(.["metadata-version"]==$mv) | ."tested-versions"' "$INDEX_FILE")
103-
103+
104104 # Run tests for all previously tested versions
105105 bash ./.github/workflows/scripts/run-consecutive-tests.sh "$GAV_COORDINATES" "$VERSIONS_JSON" 2>&1 | tee test_results.txt || true
106-
106+
107107 # Check if any version tested-version failed tests
108108 if grep -q "^FAILED" test_results.txt; then
109109 FAILED_VERSION=$(grep "^FAILED" test_results.txt | head -n 1 | awk -F'[][]' '{print $4}')
You can’t perform that action at this time.
0 commit comments