Skip to content

Commit

Permalink
Kubeflow Pipelines V2 integration Testes
Browse files Browse the repository at this point in the history
Signed-off-by: Diego Lovison <diegolovison@gmail.com>
  • Loading branch information
diegolovison committed Aug 21, 2024
1 parent 1a07ffa commit a2fd08c
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 9 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/kubeflow-pipelines-integration-v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Kubeflow Pipelines V2 integration Testes

on:
push:
branches:
- master
pull_request:
paths:
- '.github/workflows/kubeflow-pipelines-integration-v2.yml'
- 'samples'
- 'core'
- 'backend'

jobs:
integration-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}

- name: Run the Integration Tests
run: |
./backend/src/v2/test/integration-test.sh
2 changes: 1 addition & 1 deletion backend/src/v2/test/integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null && pwd)"
cd "${DIR}"
source "${DIR}/scripts/ci-env.sh"

pip3 install --quiet -r requirements.txt
pip3 install -r requirements.txt
# Run sample test
ENV_PATH=kfp-ci.env make integration-test
9 changes: 1 addition & 8 deletions backend/src/v2/test/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
# install kfp sdk from local path
-e ../../../../sdk/python
# TODO(chensun): remove the deprecated dependencies once migrated tests.
-r ../../../../sdk/python/requirements-deprecated.txt
ml-metadata==1.14.0
minio==7.0.4
google-cloud-storage
fire
-e ../../../../samples/test/utils
-e ../../../../sdk/python

0 comments on commit a2fd08c

Please sign in to comment.