Skip to content

[feature] Improve typing for @dsl.component to support strict LSPs #2066

[feature] Improve typing for @dsl.component to support strict LSPs

[feature] Improve typing for @dsl.component to support strict LSPs #2066

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