Skip to content

Commit

Permalink
ci: Run @sentry/ember tests before releases (#3665)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
rhcarvalho and kamilogorek authored Jun 10, 2021
1 parent 4121705 commit 35e5af9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@ jobs:
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'
if: steps.changed-files-specific.outputs.any_changed == 'true' || github.event_name == 'push'
run: yarn test --scope=@sentry/ember
- name: Compute test coverage
if: steps.changed-files-specific.outputs.any_changed == 'true'
if: steps.changed-files-specific.outputs.any_changed == 'true' || github.event_name == 'push'
uses: codecov/codecov-action@v1

job_artifacts:
Expand Down

0 comments on commit 35e5af9

Please sign in to comment.