Skip to content

Commit 7f35c0c

Browse files
committed
fix: fix CI/CD pipeline for toolbox-adk for local toolbox-core
1 parent c406b59 commit 7f35c0c

8 files changed

Lines changed: 20 additions & 16 deletions

File tree

.github/workflows/lint-toolbox-adk.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ jobs:
6767
with:
6868
python-version: "3.13"
6969

70+
- name: Install test requirements
71+
run: pip install -e .[test]
72+
7073
- name: Install library requirements
7174
run: pip install -r requirements.txt
7275

73-
- name: Install test requirements
74-
run: pip install .[test]
75-
7676
- name: Run linters
7777
run: |
7878
black --check .

.github/workflows/lint-toolbox-core.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ jobs:
6767
with:
6868
python-version: "3.13"
6969

70+
- name: Install test requirements
71+
run: pip install -e .[test]
72+
7073
- name: Install library requirements
7174
run: pip install -r requirements.txt
7275

73-
- name: Install test requirements
74-
run: pip install .[test]
75-
7676
- name: Run linters
7777
run: |
7878
black --check .

.github/workflows/lint-toolbox-langchain.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ jobs:
6767
with:
6868
python-version: "3.13"
6969

70+
- name: Install test requirements
71+
run: pip install -e .[test]
72+
7073
- name: Install library requirements
7174
run: pip install -r requirements.txt
7275

73-
- name: Install test requirements
74-
run: pip install .[test]
75-
7676
- name: Run linters
7777
run: |
7878
black --check .

.github/workflows/lint-toolbox-llamaindex.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ jobs:
6767
with:
6868
python-version: "3.13"
6969

70+
- name: Install test requirements
71+
run: pip install -e .[test]
72+
7073
- name: Install library requirements
7174
run: pip install -r requirements.txt
7275

73-
- name: Install test requirements
74-
run: pip install .[test]
75-
7676
- name: Run linters
7777
run: |
7878
black --check .

packages/toolbox-adk/integration.cloudbuild.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ steps:
2828
# Use $$ to escape shell variable for Cloud Build
2929
CORE_VERSION=$$(python -c "v={}; exec(open('../toolbox-core/src/toolbox_core/version.py').read(), v); print(v['__version__'])")
3030
sed -i "s/toolbox-core==[0-9.]*/toolbox-core==$$CORE_VERSION/g" pyproject.toml
31-
uv pip install -r requirements.txt -e '.[test]'
31+
uv pip install -r requirements.txt
32+
uv pip install -e '.[test]'
3233
entrypoint: /bin/bash
3334
- id: Run integration tests
3435
name: 'python:${_VERSION}'

packages/toolbox-core/integration.cloudbuild.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ steps:
2424
uv venv /workspace/venv
2525
source /workspace/venv/bin/activate
2626
uv pip install uv
27-
uv pip install -r requirements.txt -e '.[test]'
27+
uv pip install -e '.[test]'
28+
uv pip install -r requirements.txt
2829
entrypoint: /bin/bash
2930
- id: Run integration tests
3031
name: 'python:${_VERSION}'

packages/toolbox-langchain/integration.cloudbuild.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ steps:
2828
# Use $$ to escape shell variable for Cloud Build
2929
CORE_VERSION=$$(python -c "v={}; exec(open('../toolbox-core/src/toolbox_core/version.py').read(), v); print(v['__version__'])")
3030
sed -i "s/toolbox-core==[0-9.]*/toolbox-core==$$CORE_VERSION/g" pyproject.toml
31-
uv pip install -r requirements.txt -e '.[test]'
31+
uv pip install -r requirements.txt
32+
uv pip install -e '.[test]'
3233
entrypoint: /bin/bash
3334
- id: Run integration tests
3435
name: 'python:${_VERSION}'

packages/toolbox-llamaindex/integration.cloudbuild.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ steps:
2828
# Use $$ to escape shell variable for Cloud Build
2929
CORE_VERSION=$$(python -c "v={}; exec(open('../toolbox-core/src/toolbox_core/version.py').read(), v); print(v['__version__'])")
3030
sed -i "s/toolbox-core==[0-9.]*/toolbox-core==$$CORE_VERSION/g" pyproject.toml
31-
uv pip install -r requirements.txt -e '.[test]'
31+
uv pip install -r requirements.txt
32+
uv pip install -e '.[test]'
3233
entrypoint: /bin/bash
3334
- id: Run integration tests
3435
name: 'python:${_VERSION}'

0 commit comments

Comments
 (0)