Skip to content

chore(tests): added makefiles for testing workflow tests locally #591

chore(tests): added makefiles for testing workflow tests locally

chore(tests): added makefiles for testing workflow tests locally #591

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