Skip to content

Commit

Permalink
run python test
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeWang1127 committed Dec 16, 2024
1 parent 02db649 commit 7d2ed27
Showing 1 changed file with 7 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,16 @@
# limitations under the License.

timeout: 7200s # 2 hours
substitutions:
_TEST_IMAGE_NAME: "test-image:latest"
steps:
- name: gcr.io/cloud-builders/docker
- name: python
id: install-python-deps
entrypoint: python
waitFor: ["-"]
args: [
"build",
"-t", "${_TEST_IMAGE_NAME}",
"--file", ".cloudbuild/library_generation/library_generation.Dockerfile",
"."
"-m",
"unittest",
"hermetic_build/library_generation/tests/integration_tests.py"
]
id: library-generation-build
waitFor: ["-"]
env:
- 'DOCKER_BUILDKIT=1'

- name: test-image:latest
waitFor: ["library-generation-build"]
id: library-generation-integration-test

options:
logging: CLOUD_LOGGING_ONLY

0 comments on commit 7d2ed27

Please sign in to comment.