chore(tests): added makefiles for testing workflow tests locally #591
Workflow file for this run
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
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' | |
jobs: | |
test-component-yaml-kfp: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Install requirements | |
run: make setup-sdk-component-yaml | |
- name: Run component YAML tests | |
run: make test-sdk-component-yaml |