test: Fix failing SDK test by replacing mock.patch with subprocess for actual build #244
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 SDK Docformatter Test | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
paths: | |
- 'sdk/python/**' | |
- 'test/presubmit-docformatter-sdk.sh' | |
- '.github/workflows/sdk-docformatter.yml' | |
jobs: | |
test-docformatter-kfp-sdk: | |
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: Run docformatter tests | |
run: ./test/presubmit-docformatter-sdk.sh |