Skip to content

Commit 8f7751f

Browse files
author
Roman
committed
fix install folder
1 parent 4d14ecc commit 8f7751f

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/check-btcli-tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,11 @@ jobs:
168168
git checkout staging
169169
git fetch origin staging
170170
uv run --active pip install --upgrade pip
171+
uv run --active pip install '.[dev]'
171172
uv run --active pip install pytest
172173
173174
- name: Install uv dependencies
174-
working-directory: ${{ github.workspace }}
175+
working-directory: ${{ github.workspace }}/btcli
175176
run: uv sync --all-extras --dev
176177

177178
- name: Download Cached Docker Image
@@ -183,10 +184,10 @@ jobs:
183184
run: docker load -i subtensor-localnet.tar
184185

185186
- name: Run tests
186-
working-directory: ${{ github.workspace }}
187+
working-directory: ${{ github.workspace }}/btcli
187188
run: |
188189
source ${{ github.workspace }}/venv/bin/activate
189-
pytest ${{ matrix.test-file }} -s
190+
uv run pytest ${{ matrix.test-file }} -s
190191
191192
192193
run-unit-test:

.github/workflows/check-sdk-tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,10 @@ jobs:
168168
git fetch origin staging
169169
uv run --active pip install --upgrade pip
170170
uv run --active pip install '.[dev]'
171+
uv run --active pip install pytest
171172
172173
- name: Install uv dependencies
173-
working-directory: ${{ github.workspace }}
174+
working-directory: ${{ github.workspace }}/bittensor
174175
run: uv sync --all-extras --dev
175176

176177
- name: Download Cached Docker Image
@@ -182,7 +183,7 @@ jobs:
182183
run: docker load -i subtensor-localnet.tar
183184

184185
- name: Run tests
185-
working-directory: ${{ github.workspace }}
186+
working-directory: ${{ github.workspace }}/bittensor
186187
run: |
187188
source ${{ github.workspace }}/venv/bin/activate
188189
uv run pytest ${{ matrix.test-file }} -s

0 commit comments

Comments
 (0)