From 3556b8a6e250c77cecba348c0908baa5321d3233 Mon Sep 17 00:00:00 2001 From: deepanker13 Date: Tue, 9 Jan 2024 19:33:02 +0530 Subject: [PATCH] ci fix --- .github/workflows/integration-tests.yaml | 1 + .github/workflows/test-python.yaml | 2 +- sdk/python/Dockerfile.conformance | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration-tests.yaml b/.github/workflows/integration-tests.yaml index 4eb63428bc..1cbf7bb7ff 100644 --- a/.github/workflows/integration-tests.yaml +++ b/.github/workflows/integration-tests.yaml @@ -109,6 +109,7 @@ jobs: - name: Run tests run: | pip install pytest + pip install sdk/python/kubeflow/storage_init_container/requirements.txt python3 -m pip install -e sdk/python; pytest sdk/python/test --log-cli-level=info --namespace=default env: GANG_SCHEDULER_NAME: ${{ matrix.gang-scheduler-name }} diff --git a/.github/workflows/test-python.yaml b/.github/workflows/test-python.yaml index e457d064cc..2e18075c1e 100644 --- a/.github/workflows/test-python.yaml +++ b/.github/workflows/test-python.yaml @@ -25,7 +25,7 @@ jobs: - name: Install dependencies run: | pip install pytest python-dateutil urllib3 kubernetes - pip install ./sdk/python/kubeflow/storage_init_container/requirements.txt + pip install -r ./sdk/python/kubeflow/storage_init_container/requirements.txt - name: Run unit test for training sdk run: pytest ./sdk/python/kubeflow/training/api/training_client_test.py \ No newline at end of file diff --git a/sdk/python/Dockerfile.conformance b/sdk/python/Dockerfile.conformance index ad7a8d018e..b3a1e2d5f3 100644 --- a/sdk/python/Dockerfile.conformance +++ b/sdk/python/Dockerfile.conformance @@ -25,6 +25,7 @@ COPY sdk/python/conformance/run.sh . RUN chmod +x run.sh RUN pip install pytest +RUN pip install -r ./kubeflow/storage_init_container/requirements.txt RUN python -m pip install -e . ENTRYPOINT [ "./run.sh" ] \ No newline at end of file