Make the e2e Tests actually not blocking (#39175)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39175

Just `tee`-ing the e2e tests command into a log is not enough to make the command non-failing.
I'm wrapping it into a single command and `or`-int to true to ensure that it never fails.

## Changelog:
[Internal] - Make e2e tests not failing in CI

Reviewed By: rshest

Differential Revision: D48720827

fbshipit-source-id: cb1ed9a15c7761371ae48e7edca90f032688daa1
This commit is contained in:
Riccardo Cipolleschi 2023-08-29 01:59:47 -07:00 коммит произвёл Facebook GitHub Bot
Родитель 63d9db891c
Коммит b80122c48f
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -280,7 +280,7 @@ jobs:
name: Run E2E tests
command: |
cd packages/rn-tester-e2e
yarn test-e2e ios 2>&1 | tee /tmp/test_log
(yarn test-e2e ios 2>&1 | tee /tmp/test_log) || true
- store_artifacts:
path: /tmp/test_log
@ -343,7 +343,7 @@ jobs:
name: Run E2E tests
command: |
cd packages/rn-tester-e2e
yarn test-e2e android 2>&1 | tee /tmp/test_log
(yarn test-e2e android 2>&1 | tee /tmp/test_log) || true
- store_artifacts:
path: /tmp/test_log