build(deps): bump getsentry/action-app-sdk-overhead-metrics from ecce2e2718b6d97ad62220fca05627900b061ed5 to 44fb5489ac4ac252c87d84811972dc93a1e490b8 #7494
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 'System Tests Backend' | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| system-test: | |
| runs-on: ubuntu-latest | |
| continue-on-error: true | |
| env: | |
| SENTRY_URL: http://127.0.0.1:8000 | |
| GRADLE_ENCRYPTION_KEY: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| sample: [ "sentry-samples-spring-boot-jakarta" ] | |
| agent: [ "false" ] | |
| agent-auto-init: [ "true" ] | |
| include: | |
| - sample: "sentry-samples-spring-boot" | |
| agent: "false" | |
| agent-auto-init: "true" | |
| - sample: "sentry-samples-spring-boot-opentelemetry-noagent" | |
| agent: "false" | |
| agent-auto-init: "true" | |
| - sample: "sentry-samples-spring-boot-opentelemetry" | |
| agent: "true" | |
| agent-auto-init: "true" | |
| - sample: "sentry-samples-spring-boot-opentelemetry" | |
| agent: "true" | |
| agent-auto-init: "false" | |
| - sample: "sentry-samples-spring-boot-webflux-jakarta" | |
| agent: "false" | |
| agent-auto-init: "true" | |
| - sample: "sentry-samples-spring-boot-webflux" | |
| agent: "false" | |
| agent-auto-init: "true" | |
| - sample: "sentry-samples-spring-boot-jakarta-opentelemetry-noagent" | |
| agent: "false" | |
| agent-auto-init: "true" | |
| - sample: "sentry-samples-spring-boot-jakarta-opentelemetry" | |
| agent: "true" | |
| agent-auto-init: "true" | |
| - sample: "sentry-samples-spring-boot-jakarta-opentelemetry" | |
| agent: "true" | |
| agent-auto-init: "false" | |
| - sample: "sentry-samples-console" | |
| agent: "false" | |
| agent-auto-init: "true" | |
| - sample: "sentry-samples-console-otlp" | |
| agent: "false" | |
| agent-auto-init: "true" | |
| - sample: "sentry-samples-logback" | |
| agent: "false" | |
| agent-auto-init: "true" | |
| - sample: "sentry-samples-log4j2" | |
| agent: "false" | |
| agent-auto-init: "true" | |
| - sample: "sentry-samples-jul" | |
| agent: "false" | |
| agent-auto-init: "true" | |
| - sample: "sentry-samples-spring-boot-4" | |
| agent: "false" | |
| agent-auto-init: "true" | |
| - sample: "sentry-samples-spring-boot-4-webflux" | |
| agent: "false" | |
| agent-auto-init: "true" | |
| - sample: "sentry-samples-spring-boot-4-opentelemetry-noagent" | |
| agent: "false" | |
| agent-auto-init: "true" | |
| - sample: "sentry-samples-spring-boot-4-opentelemetry" | |
| agent: "true" | |
| agent-auto-init: "true" | |
| - sample: "sentry-samples-spring-boot-4-opentelemetry" | |
| agent: "true" | |
| agent-auto-init: "false" | |
| - sample: "sentry-samples-spring-boot-4-otlp" | |
| agent: "false" | |
| agent-auto-init: "true" | |
| - sample: "sentry-samples-spring-7" | |
| agent: "false" | |
| agent-auto-init: "true" | |
| - sample: "sentry-samples-spring-jakarta" | |
| agent: "false" | |
| agent-auto-init: "true" | |
| - sample: "sentry-samples-spring" | |
| agent: "false" | |
| agent-auto-init: "true" | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| submodules: 'recursive' | |
| - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 | |
| with: | |
| python-version: '3.10.5' | |
| - name: Install Python dependencies | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| python3 -m pip install -r requirements.txt | |
| - name: Set up Java | |
| uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c | |
| with: | |
| cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
| - name: Exclude android modules from build | |
| run: | | |
| sed -i \ | |
| -e '/.*"sentry-android-ndk",/d' \ | |
| -e '/.*"sentry-android",/d' \ | |
| -e '/.*"sentry-compose",/d' \ | |
| -e '/.*"sentry-android-core",/d' \ | |
| -e '/.*"sentry-android-fragment",/d' \ | |
| -e '/.*"sentry-android-navigation",/d' \ | |
| -e '/.*"sentry-android-sqlite",/d' \ | |
| -e '/.*"sentry-android-timber",/d' \ | |
| -e '/.*"sentry-android-integration-tests:sentry-uitest-android-benchmark",/d' \ | |
| -e '/.*"sentry-android-integration-tests:sentry-uitest-android",/d' \ | |
| -e '/.*"sentry-android-integration-tests:sentry-uitest-android-critical",/d' \ | |
| -e '/.*"sentry-android-integration-tests:test-app-sentry",/d' \ | |
| -e '/.*"sentry-samples:sentry-samples-android",/d' \ | |
| -e '/.*"sentry-android-replay",/d' \ | |
| settings.gradle.kts | |
| - name: Exclude android modules from ignore list | |
| run: | | |
| sed -i \ | |
| -e '/.*"sentry-uitest-android",/d' \ | |
| -e '/.*"sentry-uitest-android-benchmark",/d' \ | |
| -e '/.*"sentry-uitest-android-critical",/d' \ | |
| -e '/.*"test-app-sentry",/d' \ | |
| -e '/.*"sentry-samples-android",/d' \ | |
| build.gradle.kts | |
| - name: Build and run system tests | |
| run: | | |
| python3 test/system-test-runner.py test --module "${{ matrix.sample }}" --agent "${{ matrix.agent }}" --auto-init "${{ matrix.agent-auto-init }}" --build "true" | |
| - name: Upload test results | |
| if: always() | |
| uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7 | |
| with: | |
| name: test-results-${{ matrix.sample }}-${{ matrix.agent }}-${{ matrix.agent-auto-init }}-system-test | |
| path: | | |
| **/build/reports/* | |
| sentry-mock-server.txt | |
| spring-server.txt | |
| - name: Test Report | |
| uses: phoenix-actions/test-reporting@f957cd93fc2d848d556fa0d03c57bc79127b6b5e # pin@v15 | |
| if: always() | |
| with: | |
| name: JUnit System Tests ${{ matrix.sample }} | |
| path: | | |
| **/build/test-results/**/*.xml | |
| reporter: java-junit | |
| output-to: step-summary | |
| fail-on-error: false |