Skip to content

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

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

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

Workflow file for this run

name: KFP SDK execution tests
on:
push:
branches: [master]
pull_request:
paths:
- '.github/workflows/sdk-execution.yml'
- '.github/resources/**'
- 'sdk/python/**'
- 'api/v2alpha1/**'
- 'backend/src/v2/compiler/**'
jobs:
sdk-execution-tests:
runs-on: ubuntu-24.04
strategy:
matrix:
k8s_version: [ "v1.29.2", "v1.30.2", "v1.31.0" ]
name: KFP SDK Execution Tests - K8s ${{ matrix.k8s_version }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Create KFP cluster
uses: ./.github/actions/kfp-cluster
with:
k8s_version: ${{ matrix.k8s_version }}
# Same as sdk-component requirements
- name: Install requirements
run: make setup-sdk-component-yaml
- name: Forward API port and run tests
run: |
make test-sdk-execution