-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: remove installation of redundant detox-cli in bitrise #10449
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/detox@20.23.1 |
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
|
7ee68d4
to
33247be
Compare
33247be
to
401c0ce
Compare
@cortisiko Rebased. Might I ask, why was the approach (installing it globally in bitrise, and leaving it as exercise for the dev elsewhere) in #10553 preferred over this PR (install it through devDependencies in every environment, like any other devdep)? |
401c0ce
to
e6f3fb1
Compare
@legobeat ah, hmmm, so I wasn't aware you had opened this PR, so it wasn't a matter of preference. Installing Detox as a dev dependency makes sense to me. Before merging this PR, Can we kick off an e2e test build on bitrise for good measure? |
4b02c3d
to
55a56ed
Compare
- remove redundant setup:detox-e2e package scripts
55a56ed
to
ecf8b1a
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #10449 +/- ##
==========================================
- Coverage 55.84% 53.80% -2.05%
==========================================
Files 1594 1639 +45
Lines 37855 38180 +325
Branches 4545 4627 +82
==========================================
- Hits 21142 20541 -601
- Misses 16214 16226 +12
- Partials 499 1413 +914
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
ecf8b1a
to
d88b254
Compare
a1b7371
to
b6a7cb3
Compare
The detox-cli package is just a shim for the bin already provided in the main detox package.
b6a7cb3
to
976323b
Compare
976323b
to
0a3123b
Compare
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is expected as an environment variable. https://docs.brew.sh/Manpage
0a3123b
to
1e51f7e
Compare
@Cal-L: Passing bitrise run: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/5d58b4ec-72d9-4e3e-b1e9-020db0639848
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
The package
detox-cli
is just acting as a shim fordetox
and isn't actually needed: https://github.com/wix/Detox/blob/master/detox-cli/cli.jsdetox-cli
packagesetup:detox-e2e
package scriptapplesimutils
installation for bitrise android e2eHOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK
to brewdetox
to latest