-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Add script and GitHub Action for kfp-kubernetes-library (#11006)
* test: Add script and GitHub Action for kfp-kubernetes-library Signed-off-by: Diego Lovison <[email protected]> * Rename Signed-off-by: Diego Lovison <[email protected]> * Update bash to have sudo Signed-off-by: Diego Lovison <[email protected]> --------- Signed-off-by: Diego Lovison <[email protected]>
- Loading branch information
1 parent
ad03bb6
commit c420f8c
Showing
2 changed files
with
39 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: kfp-kubernetes library tests | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
paths: | ||
- '.github/workflows/kfp-kubernetes-library-test.yaml' | ||
- 'sdk/python/**' | ||
- 'api/v2alpha1/**' | ||
- 'kubernetes_platform/**' | ||
- 'test/presubmit-test-kfp-kubernetes-library.sh' | ||
|
||
jobs: | ||
kfp-kubernetes-library-test: | ||
runs-on: ubuntu-24.04 | ||
strategy: | ||
matrix: | ||
python: [ | ||
{ 'version': '3.8' }, | ||
{ 'version': '3.9' }, | ||
{ 'version': '3.10' }, | ||
{ 'version': '3.11' }, | ||
{ 'version': '3.12' } | ||
] | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{matrix.python.version}} | ||
|
||
- name: Run tests | ||
run: ./test/presubmit-test-kfp-kubernetes-library.sh |
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