Skip to content

Commit 3039d25

Browse files
SylvainJugeCopilotv1v
authored
add jdk 26 test (#1094)
* add jdk 26 * try to add dependency on matrix test result * change matrix job name * update jdk-test job: run always and fail if jdk-matrix has failures Agent-Logs-Url: https://github.com/elastic/elastic-otel-java/sessions/bfb4681e-c1df-48aa-bf12-b2d1886dcd50 Co-authored-by: v1v <2871786+v1v@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: v1v <2871786+v1v@users.noreply.github.com>
1 parent e9d8300 commit 3039d25

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
path: |
5858
./agentextension/build/libs/elastic-otel-agentextension-*.jar
5959
60-
test:
60+
jdk-matrix:
6161
runs-on: ubuntu-latest
6262
needs:
6363
- build
@@ -80,12 +80,16 @@ jobs:
8080
vm: 'hotspot'
8181
- version: 25
8282
vm: 'hotspot'
83+
- version: 26
84+
vm: 'hotspot'
8385
- version: 11
8486
vm: 'openj9'
8587
- version: 21
8688
vm: 'openj9'
8789
- version: 25
8890
vm: 'openj9'
91+
- version: 26
92+
vm: 'openj9'
8993
steps:
9094
# We use the cached working directory so that we don't have to recompile everything
9195
- name: Download cached build working directory
@@ -119,6 +123,18 @@ jobs:
119123
name: test-results-${{ matrix.version }}-${{ matrix.vm }}
120124
path: '**/build/test-results/test/TEST-*.xml'
121125

126+
jdk-test:
127+
runs-on: ubuntu-latest
128+
if: always()
129+
needs:
130+
- jdk-matrix
131+
steps:
132+
- name: Check jdk-matrix result
133+
run: |
134+
result="${{ needs.jdk-matrix.result }}"
135+
echo "jdk-matrix result: $result"
136+
[[ "$result" == "success" ]] || exit 1
137+
122138
muzzle-check:
123139
runs-on: ubuntu-latest
124140
steps:

0 commit comments

Comments
 (0)