From 6b8eca8c212c27344e3b7fbb9d762dc71b1df387 Mon Sep 17 00:00:00 2001 From: Han Xiao Date: Sat, 16 Oct 2021 08:56:11 +0200 Subject: [PATCH] ci: use jina git source as test dependencies (#135) --- .github/requirements-cicd-gpu.txt | 1 + .github/requirements-cicd.txt | 1 + .github/workflows/ci.yml | 2 -- .github/workflows/force-docs-build.yml | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/requirements-cicd-gpu.txt b/.github/requirements-cicd-gpu.txt index 0674fc760..c35c2f8db 100644 --- a/.github/requirements-cicd-gpu.txt +++ b/.github/requirements-cicd-gpu.txt @@ -1,3 +1,4 @@ +https://github.com/jina-ai/jina/archive/refs/heads/master.zip tensorflow paddlepaddle-gpu torch diff --git a/.github/requirements-cicd.txt b/.github/requirements-cicd.txt index dfc8d4e64..1fc03e54d 100644 --- a/.github/requirements-cicd.txt +++ b/.github/requirements-cicd.txt @@ -1,3 +1,4 @@ +https://github.com/jina-ai/jina/archive/refs/heads/master.zip tensorflow paddlepaddle torch diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 76857d24d..7d3ce48d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,7 +116,6 @@ jobs: python -m pip install wheel pip install -r .github/requirements-test.txt pip install -r .github/requirements-cicd.txt - pip install -r requirements.txt pip install --no-cache-dir . export JINA_LOG_LEVEL="ERROR" - name: Test @@ -155,7 +154,6 @@ jobs: python -m pip install wheel pip install -r .github/requirements-test.txt pip install -r .github/requirements-cicd-gpu.txt - pip install -r requirements.txt pip install --no-cache-dir . export JINA_LOG_LEVEL="ERROR" - name: Test diff --git a/.github/workflows/force-docs-build.yml b/.github/workflows/force-docs-build.yml index 57f0a8ca5..015f5f544 100644 --- a/.github/workflows/force-docs-build.yml +++ b/.github/workflows/force-docs-build.yml @@ -34,7 +34,7 @@ jobs: run: | git config --local user.email "dev-bot@jina.ai" git config --local user.name "Jina Dev Bot" - pip install -r requirements.txt + pip install https://github.com/jina-ai/jina/archive/refs/heads/master.zip pip install . mkdir gen-html cd docs