Skip to content

Commit 35e5af9

Browse files
ci: Run @sentry/ember tests before releases (getsentry#3665)
We save some time by not running the tests in pull requests, but unconditionally running the tests for master and release branches gives us more confidence and allows us to detect problems earlier. Co-authored-by: Kamil Ogórek <[email protected]>
1 parent 4121705 commit 35e5af9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,10 @@ jobs:
234234
files: .*packages\/(ember|browser|core|tracing|hub|minimal|types|utils)($|/.*)
235235
# Only run ember tests if the files above have changed
236236
- name: Run Ember tests
237-
if: steps.changed-files-specific.outputs.any_changed == 'true'
237+
if: steps.changed-files-specific.outputs.any_changed == 'true' || github.event_name == 'push'
238238
run: yarn test --scope=@sentry/ember
239239
- name: Compute test coverage
240-
if: steps.changed-files-specific.outputs.any_changed == 'true'
240+
if: steps.changed-files-specific.outputs.any_changed == 'true' || github.event_name == 'push'
241241
uses: codecov/codecov-action@v1
242242

243243
job_artifacts:

0 commit comments

Comments
 (0)