-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
build(cypress): Use pull_request_target event to run cypress #11750
build(cypress): Use pull_request_target event to run cypress #11750
Conversation
Codecov Report
@@ Coverage Diff @@
## master #11750 +/- ##
===========================================
- Coverage 63.81% 53.24% -10.58%
===========================================
Files 956 438 -518
Lines 46845 15752 -31093
Branches 4590 4079 -511
===========================================
- Hits 29895 8387 -21508
+ Misses 16766 7365 -9401
+ Partials 184 0 -184
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
0b3a55a
to
f48400c
Compare
f48400c
to
cc13b58
Compare
Cypress runs are not showing up in the Cypress dashboard for some reason. The |
|
Thanks for the clarification @ktmud. The Another strange thing, |
Restoring |
Confirmed: the |
I think the It seems I'm wondering if we should just revert back to the |
@ktmud correct, the |
Makes sense! |
Here's how this worked in superset-ui: apache-superset/superset-ui#853 |
SUMMARY
Updates Cypress e2e test Github Actions workflow to use the pull_request_target event in order to work around the secrets sharing limitation for forked repos. Also adds concurrency via multiple
containers
.NOTE: the
pull_request
event trigger is required to get e2e tests passing in this PR, but will be removed in a subsequent PR in favor ofpull_request_target
.Replaces #11730
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
e2e test workflow should run with a populated
CYPRESS_RECORD_KEY
value from the upstream repo's secrets.ADDITIONAL INFORMATION