From 3e45c80f3f059a84335be81fc49b29b369c94c7c Mon Sep 17 00:00:00 2001 From: Diego Lovison Date: Wed, 21 Aug 2024 10:06:15 -0300 Subject: [PATCH] Kubeflow Pipelines V2 integration Testes Signed-off-by: Diego Lovison --- .../kubeflow-pipelines-integration-v2.yml | 32 +++++++++++++++++++ backend/src/v2/test/integration-test.sh | 2 +- backend/src/v2/test/requirements.txt | 8 +---- 3 files changed, 34 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/kubeflow-pipelines-integration-v2.yml diff --git a/.github/workflows/kubeflow-pipelines-integration-v2.yml b/.github/workflows/kubeflow-pipelines-integration-v2.yml new file mode 100644 index 000000000000..c4a85f0441bb --- /dev/null +++ b/.github/workflows/kubeflow-pipelines-integration-v2.yml @@ -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 diff --git a/backend/src/v2/test/integration-test.sh b/backend/src/v2/test/integration-test.sh index d93d6364dceb..e526e183ac37 100755 --- a/backend/src/v2/test/integration-test.sh +++ b/backend/src/v2/test/integration-test.sh @@ -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 diff --git a/backend/src/v2/test/requirements.txt b/backend/src/v2/test/requirements.txt index 6eece4be3a96..96a2ebcf31f9 100644 --- a/backend/src/v2/test/requirements.txt +++ b/backend/src/v2/test/requirements.txt @@ -1,9 +1,3 @@ # 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 +fire \ No newline at end of file