[feature] Improve typing for @dsl.component to support strict LSPs #2066
Workflow file for this run
This file contains hidden or 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
name: kfp-kubernetes library tests | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
paths: | |
- '.github/workflows/kfp-kubernetes-library-test.yml' | |
- 'sdk/python/**' | |
- 'api/v2alpha1/**' | |
- 'kubernetes_platform/**' | |
- '!**/*.md' | |
- '!**/OWNERS' | |
jobs: | |
kfp-kubernetes-library-test: | |
runs-on: ubuntu-24.04 | |
strategy: | |
matrix: | |
python: [ | |
{ 'version': '3.9' }, | |
{ 'version': '3.13' } | |
] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v5 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{matrix.python.version}} | |
- name: Install protobuf dependencies & kfp-pipeline-spec | |
id: install-protobuf-deps | |
uses: ./.github/actions/protobuf | |
- name: Install kfp & kfp-kubernetes from source | |
id: install-kfp-k8s-deps | |
uses: ./.github/actions/kfp-k8s | |
- name: Run tests | |
run: pytest ./kubernetes_platform/python/test |