chore: add workflow to approve pr runs (#11416) #471
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 Runtime Code Tests | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
paths: | |
- '.github/workflows/kfp-sdk-runtime-tests.yml' | |
- 'sdk/python/**' | |
- 'test/presubmit-test-kfp-runtime-code.sh' | |
jobs: | |
kfp-runtime-tests: | |
runs-on: ubuntu-24.04 | |
strategy: | |
matrix: | |
python: ['3.9', '3.10', '3.11', '3.12', '3.13'] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Run KFP Runtime Code Tests | |
run: | | |
export PULL_NUMBER="${{ github.event.inputs.pull_number || github.event.pull_request.number }}" | |
./test/presubmit-test-kfp-runtime-code.sh |