diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c2c31bc427d3..1aee84cf9658 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -193,9 +193,17 @@ jobs: with: path: ${{ env.CACHED_BUILD_PATHS }} key: ${{ env.BUILD_CACHE_KEY }} + - name: Check changed files + id: changed-files-specific + uses: tj-actions/changed-files@v6.2 + with: + files: .*packages\/(ember|browser|core|tracing|hub|minimal|types|utils)($|/.*) + # Only run ember tests if the files above have changed - name: Run Ember tests + if: steps.changed-files-specific.outputs.any_changed == 'true' run: yarn test --scope=@sentry/ember - name: Compute test coverage + if: steps.changed-files-specific.outputs.any_changed == 'true' uses: codecov/codecov-action@v1 job_artifacts: