From 566a218044e3dd85863f769d074a500d4a1d1186 Mon Sep 17 00:00:00 2001 From: Dharmit Dalvi Date: Tue, 16 Jul 2024 21:16:39 -0400 Subject: [PATCH] Create kfp-sdk-tests.yml --- .github/workflows/kfp-sdk-tests.yml | 34 +++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/kfp-sdk-tests.yml diff --git a/.github/workflows/kfp-sdk-tests.yml b/.github/workflows/kfp-sdk-tests.yml new file mode 100644 index 00000000000..af88e4ea909 --- /dev/null +++ b/.github/workflows/kfp-sdk-tests.yml @@ -0,0 +1,34 @@ +name: KFP SDK Tests + +on: + push: + branches: [master] + + pull_request: + paths: + - '.github/workflows/kfp-sdk-tests.yml' + - 'sdk/**' + - 'test/presubmit-tests-sdk.sh' + + workflow_dispatch: + +jobs: + sdk-tests: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + + - name: Run SDK Tests + run: | + chmod +x ./test/presubmit-tests-sdk.sh + ./test/presubmit-tests-sdk.sh