Skip to content

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

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

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

name: KFP Component YAML Test
on:
push:
branches: [master]
pull_request:
paths:
- 'components/**/*.yaml'
- 'test/presubmit-component-yaml.sh'
- 'sdk/python/**'
- 'api/v2alpha1/**'
- '.github/workflows/sdk-component-yaml.yml'
- '!**/*.md'
- '!**/OWNERS'
jobs:
test-component-yaml-kfp:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install protobuf dependencies
uses: ./.github/actions/protobuf
- name: Run component YAML tests
run: ./test/presubmit-component-yaml.sh