forked from kubeflow/pipelines
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'kubeflow:master' into master
- Loading branch information
Showing
76 changed files
with
965 additions
and
435 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: GCPC modules test | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
|
||
pull_request: | ||
paths: | ||
- '.github/workflows/gcpc-modules-tests.yml' | ||
- 'sdk/python/**' | ||
|
||
jobs: | ||
all-gcpc-tests: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: apt-get update | ||
run: sudo apt-get update | ||
|
||
- name: Install protobuf-compiler | ||
run: sudo apt-get install protobuf-compiler -y | ||
|
||
- name: Install setuptools | ||
run: | | ||
pip3 install setuptools | ||
pip3 freeze | ||
- name: Install Wheel | ||
run: pip3 install wheel==0.42.0 | ||
|
||
- name: Install python sdk | ||
run: pip install sdk/python | ||
|
||
- name: Generate API proto files | ||
working-directory: ./api | ||
run: make clean python | ||
|
||
- name: Install kfp-pipeline-spec from source | ||
run: | | ||
python3 -m pip install api/v2alpha1/python | ||
- name: Install google-cloud component | ||
run: pip install components/google-cloud | ||
|
||
- name: Install Pytest | ||
run: pip install $(grep 'pytest==' sdk/python/requirements-dev.txt) | ||
|
||
- name: Run test | ||
run: pytest ./test/gcpc-tests/run_all_gcpc_modules.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.