[feature] Improve typing for @dsl.component to support strict LSPs #2048
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 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 |