chore(tests): added makefiles for testing workflow tests locally #367
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 YAPF Tests | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'sdk/python/**' | |
- 'test/presubmit-yapf-sdk.sh' | |
- '.github/workflows/sdk-yapf.yml' | |
pull_request: | |
branches: | |
- master | |
paths: | |
- 'sdk/python/**' | |
- 'test/presubmit-yapf-sdk.sh' | |
- '.github/workflows/sdk-yapf.yml' | |
jobs: | |
yapf-sdk: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install requirements | |
run: make setup-sdk-yapf | |
- name: Run YAPF SDK Tests | |
run: make test-sdk-yapf |