Repository navigation
build(otel): Register agent without-auto-init tests as a suite target #371
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: 'Samples' | |
| # Runs `check` in each build the SDK build doesn't include, so a broken sample or | |
| # integration test fails its own job instead of the SDK's Build job. | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| check: | |
| name: Check ${{ matrix.name }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: sentry-samples-android | |
| path: sentry-samples/sentry-samples-android | |
| - name: sentry-android-integration-tests | |
| path: sentry-android-integration-tests | |
| - name: sentry-samples | |
| path: sentry-samples | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Setup Java Version | |
| uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1 | |
| - name: Run Tests and Lint | |
| run: ./gradlew -p ${{ matrix.path }} check | |
| - name: Upload test results | |
| if: always() | |
| uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 | |
| with: | |
| name: test-results-${{ matrix.name }} | |
| path: | | |
| **/build/reports/* |