Skip to content

Commit

Permalink
test: Migrate SDK docformatter tests to GHA
Browse files Browse the repository at this point in the history
Signed-off-by: ddalvi <[email protected]>
  • Loading branch information
DharmitD committed Jul 24, 2024
1 parent 55fece5 commit 16c91da
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/sdk-docformatter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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.8

- name: Run docformatter tests
run: ./test/presubmit-docformatter-sdk.sh

0 comments on commit 16c91da

Please sign in to comment.