Skip to content

Commit 1137d60

Browse files
adinauerclaude
andcommitted
ci(spring): Skip OTel no-agent sample on old Boot 2
Spring Boot 2.1 and 2.2 cannot parse newer OpenTelemetry auto-configuration classes during startup. Keep the matrix coverage for supported samples and skip the no-agent OTel sample for those versions. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 16dd557 commit 1137d60

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/spring-boot-2-matrix.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ jobs:
141141
--build "true"
142142
143143
- name: Test sentry-samples-spring-boot-opentelemetry-noagent
144+
if: ${{ !startsWith(matrix.springboot-version, '2.1.') && !startsWith(matrix.springboot-version, '2.2.') }}
144145
run: |
145146
python3 test/system-test-runner.py test \
146147
--module "sentry-samples-spring-boot-opentelemetry-noagent" \

0 commit comments

Comments
 (0)