Skip to content

Commit

Permalink
test: Migrate KFP SDK YAPF test to a GHA Workflow (#10961)
Browse files Browse the repository at this point in the history
Signed-off-by: ddalvi <[email protected]>
  • Loading branch information
DharmitD authored Jun 29, 2024
1 parent fb9213b commit d499172
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/sdk-yapf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
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.8'

- name: Install dependencies
run: pip install yapf

- name: Run YAPF SDK Tests
run: ./test/presubmit-yapf-sdk.sh

0 comments on commit d499172

Please sign in to comment.