Skip to content

Commit 42cc2b8

Browse files
authored
Merge pull request #219 from opentensor/chore/thewhaleking/use-uv-for-tests
Use uv for test dependencies
2 parents 06f4bcc + c3e15a2 commit 42cc2b8

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ jobs:
166166
source ${{ github.workspace }}/venv/bin/activate
167167
git checkout staging
168168
git fetch origin staging
169-
python3 -m pip install --upgrade pip
170-
python3 -m pip install '.[dev]'
171-
python3 -m pip install pytest
169+
python3 -m pip install --upgrade pip uv
170+
uv pip install '.[dev]'
171+
uv pip install pytest
172172
173173
- name: Clone async-substrate-interface repo
174174
run: git clone https://github.com/opentensor/async-substrate-interface.git
@@ -185,7 +185,7 @@ jobs:
185185
run: |
186186
source ${{ github.workspace }}/venv/bin/activate
187187
python3 -m pip uninstall async-substrate-interface -y
188-
python3 -m pip install .
188+
uv pip install .
189189
190190
- name: Download Cached Docker Image
191191
uses: actions/download-artifact@v4
@@ -229,8 +229,8 @@ jobs:
229229
source ${{ github.workspace }}/venv/bin/activate
230230
git checkout staging
231231
git fetch origin staging
232-
python3 -m pip install --upgrade pip
233-
python3 -m pip install '.[dev]'
232+
python3 -m pip install --upgrade pip uv
233+
uv pip install '.[dev]'
234234
235235
- name: Clone async-substrate-interface repo
236236
run: git clone https://github.com/opentensor/async-substrate-interface.git
@@ -247,7 +247,7 @@ jobs:
247247
run: |
248248
source ${{ github.workspace }}/venv/bin/activate
249249
pip uninstall async-substrate-interface -y
250-
pip install .
250+
uv pip install .
251251
252252
- name: Run SDK unit tests
253253
run: |

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ jobs:
194194
fi
195195
git checkout FETCH_HEAD
196196
echo "✅ Using Bittensor branch: $BITTENSOR_BRANCH"
197-
python3 -m pip install --upgrade pip
198-
python3 -m pip install '.[dev]'
197+
python3 -m pip install --upgrade pip uv
198+
uv pip install '.[dev]'
199199
200200
- name: Clone Bittensor async-substrate-interface repo
201201
run: git clone https://github.com/opentensor/async-substrate-interface.git
@@ -212,7 +212,7 @@ jobs:
212212
run: |
213213
source ${{ github.workspace }}/venv/bin/activate
214214
python3 -m pip uninstall async-substrate-interface -y
215-
python3 -m pip install .
215+
uv pip install .
216216
217217
- name: Download Cached Docker Image
218218
uses: actions/download-artifact@v4
@@ -260,8 +260,8 @@ jobs:
260260
fi
261261
git checkout FETCH_HEAD
262262
echo "✅ Using Bittensor branch: $BITTENSOR_BRANCH"
263-
python3 -m pip install --upgrade pip
264-
python3 -m pip install '.[dev]'
263+
python3 -m pip install --upgrade pip uv
264+
uv pip install '.[dev]'
265265
266266
- name: Clone async-substrate-interface repo
267267
run: git clone https://github.com/opentensor/async-substrate-interface.git
@@ -278,7 +278,7 @@ jobs:
278278
run: |
279279
source ${{ github.workspace }}/venv/bin/activate
280280
pip uninstall async-substrate-interface -y
281-
pip install .
281+
uv pip install .
282282
283283
- name: Run SDK integration tests
284284
run: |

0 commit comments

Comments
 (0)