Repository navigation
fix(profiling): Accept dots in the JVM profiling traces dir path #6680
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: Spring Boot 3.x Matrix | |
| 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: | |
| versions: | |
| runs-on: ubuntu-latest | |
| name: Spring Boot 3.x versions | |
| outputs: | |
| versions: ${{ steps.versions.outputs.versions }} | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| sparse-checkout: gradle | |
| - name: Read Spring Boot 3.x versions | |
| id: versions | |
| run: echo "versions=$(jq -c .boot3 gradle/spring-boot-versions.json)" >> "$GITHUB_OUTPUT" | |
| spring-boot-3-matrix: | |
| needs: versions | |
| timeout-minutes: 45 | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| springboot-version: ${{ fromJSON(needs.versions.outputs.versions) }} | |
| name: Spring Boot ${{ matrix.springboot-version }} | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Set up Java | |
| uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1 | |
| - name: Test integration suites | |
| # Project paths, unlike a bare task name, keep Gradle from configuring every project. | |
| run: | | |
| task="allIntegrationTestsBoot${SPRINGBOOT_VERSION//./_}" | |
| ./gradlew ":sentry-spring-jakarta:$task" ":sentry-spring-boot-jakarta:$task" | |
| env: | |
| SPRINGBOOT_VERSION: ${{ matrix.springboot-version }} | |
| - name: Upload test results | |
| if: always() | |
| uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 | |
| with: | |
| name: test-results-springboot-3-${{ matrix.springboot-version }} | |
| path: | | |
| **/build/reports/* | |
| **/build/test-results/**/*.xml | |
| - name: Test Report | |
| uses: phoenix-actions/test-reporting@7317eea6e13c47348dd0bb318669485157c518d6 # pin@v16 | |
| if: always() | |
| with: | |
| name: JUnit Spring Boot 3.x ${{ matrix.springboot-version }} | |
| path: | | |
| **/build/test-results/**/*.xml | |
| reporter: java-junit | |
| output-to: step-summary | |
| fail-on-error: false |