Repository navigation
perf(core): [Logs and Metrics Enable Flags 8] Avoid unused Logs worker thread #9569
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: | |
| paths-ignore: | |
| - '*android*/**' | |
| - 'sentry-compose/**' | |
| - 'sentry-samples/sentry-samples-android/**' | |
| 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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| submodules: 'recursive' | |
| - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 | |
| 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@b6effb05e454b25005698d916606bdc6ffcbf961 # v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@9c971963bec38e04b3d30dcc455b5382be2fdbfb # v6.3.0 | |
| with: | |
| cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
| - 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@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # 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@7317eea6e13c47348dd0bb318669485157c518d6 # pin@v16 | |
| 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 |