@@ -314,29 +314,6 @@ aliases:
314
314
name : End-to-End Test Suite
315
315
command : node ./scripts/run-ci-e2e-tests.js --android --ios --tvos --js --retries 3;
316
316
317
- - &install-node-8
318
- name : Install Node 8
319
- command : |
320
- echo 'export PATH=/usr/local/opt/node@8/bin:$PATH' >> $BASH_ENV
321
- source $BASH_ENV
322
- brew install node@8
323
- brew link node@8
324
- node -v
325
-
326
- - &install-apple-simulator-utils
327
- name : Install Apple Simulator Utilities
328
- command : |
329
- brew tap wix/brew
330
- brew install applesimutils
331
-
332
- - &build-ios-app-e2e
333
- name : Build iOS App for Simulator
334
- command : yarn run build-ios-e2e
335
-
336
- - &run-ios-detox-tests
337
- name : Run Detox Tests
338
- command : yarn run test-ios-e2e
339
-
340
317
- &run-objc-ios-e2e-tests
341
318
name : iOS End-to-End Test Suite
342
319
command : |
@@ -467,23 +444,17 @@ jobs:
467
444
path : ~/react-native/reports/junit
468
445
469
446
# Runs end to end tests (Detox)
470
- # Disabled.
471
447
test_detox_end_to_end :
472
448
<< : *macos_defaults
473
449
steps :
474
- - attach_workspace :
475
- at : ~/react-native
476
-
477
- - run : *boot-simulator-iphone
478
-
479
- - run : *install-node-8
480
- - run : *install-apple-simulator-utils
481
- - run : *build-ios-app-e2e
482
-
483
- - run : *run-ios-detox-tests
450
+ - checkout
484
451
485
- - store_test_results :
486
- path : ~/react-native/reports/junit
452
+ - run : brew tap wix/brew
453
+ - run : brew install applesimutils
454
+ - restore-cache : *restore-yarn-cache
455
+ - run : yarn
456
+ - run : yarn run build-ios-e2e
457
+ - run : yarn run test-ios-e2e
487
458
488
459
# Set up an Android environment for downstream jobs
489
460
test_android :
@@ -683,10 +654,8 @@ workflows:
683
654
# requires:
684
655
# - checkout_code
685
656
686
- # - test_detox_end_to_end:
687
- # filters: *filter-ignore-gh-pages
688
- # requires:
689
- # - checkout_code
657
+ - test_detox_end_to_end :
658
+ filters : *filter-ignore-gh-pages
690
659
691
660
692
661
# Only runs on vX.X.X tags if all tests are green
0 commit comments