Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 15, 2019. It is now read-only.

Commit 0d79535

Browse files
author
Nikhil Thorat
authored
Wait for yarn in webgpu / react native CI cloudbuild.yml. (#1877)
We need to wait for yarn on the parent folder because child directories will look in the parent node_modules. This introduces a race condition that causes the CI to be flaky. DEV
1 parent a516745 commit 0d79535

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎cloudbuild.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ steps:
5555
id: 'test-webgpu'
5656
dir: 'tfjs-webgpu/'
5757
args: ['test-ci']
58-
waitFor: ['-'] # start step immediately
58+
# Wait for parent because subfolders look at parent node_modules.
59+
waitFor: ['yarn']
5960
#
6061
# React-Native tests
6162
#
@@ -64,7 +65,8 @@ steps:
6465
id: 'test-react-native'
6566
dir: 'tfjs-react-native/'
6667
args: ['test-ci']
67-
waitFor: ['-'] # start step immediately
68+
# Wait for parent because subfolders look at parent node_modules.
69+
waitFor: ['yarn']
6870
env: ['BROWSERSTACK_USERNAME=deeplearnjs1']
6971
secretEnv: ['BROWSERSTACK_KEY']
7072

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /