Skip to content

Commit

Permalink
Add pose-detection to CI test. (#633)
Browse files Browse the repository at this point in the history
PROCESS
  • Loading branch information
lina128 authored Apr 3, 2021
1 parent f238bd8 commit 2b3484c
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cloudbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ steps:
args: ['./scripts/run-build.sh', 'posenet']
waitFor: ['diff']

# Pose Detection.
- name: 'gcr.io/cloud-builders/gcloud'
entrypoint: 'bash'
id: 'pose-detection'
args: ['./scripts/run-build.sh', 'pose-detection']
waitFor: ['diff']

# Speech commands.
- name: 'gcr.io/cloud-builders/gcloud'
entrypoint: 'bash'
Expand Down
49 changes: 49 additions & 0 deletions pose-detection/cloudbuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@

steps:

# Install common dependencies.
- name: 'node:10'
id: 'yarn-common'
entrypoint: 'yarn'
args: ['install']

# Install pose-detection dependencies.
- name: 'node:10'
dir: 'pose-detection'
entrypoint: 'yarn'
id: 'yarn'
args: ['install']
waitFor: ['yarn-common']

# Lint.
- name: 'node:10'
dir: 'pose-detection'
entrypoint: 'yarn'
id: 'lint'
args: ['lint']
waitFor: ['yarn']

# Build.
- name: 'node:10'
dir: 'pose-detection'
entrypoint: 'yarn'
id: 'build'
args: ['build']
waitFor: ['yarn']

# Run tests.
- name: 'node:10'
dir: 'pose-detection'
entrypoint: 'yarn'
id: 'test'
args: ['test']
waitFor: ['yarn']

# General configuration
timeout: 1800s
logsBucket: 'gs://tfjs-build-logs'
substitutions:
_NIGHTLY: ''
options:
logStreamingOption: 'STREAM_ON'
substitution_option: 'ALLOW_LOOSE'

0 comments on commit 2b3484c

Please sign in to comment.