@@ -215,7 +215,7 @@ jobs:
215
215
216
216
- name : Create Python virtual environment
217
217
working-directory : ${{ github.workspace }}
218
- run : python3 -m venv ${{ github.workspace }}/ venv
218
+ run : python3 -m venv venv
219
219
220
220
- name : Clone Bittensor SDK repo
221
221
working-directory : ${{ github.workspace }}
@@ -231,8 +231,8 @@ jobs:
231
231
python3 -m pip install '.[dev]'
232
232
python3 -m pip install -r requirements/torch.txt
233
233
234
- - name : Clone Bittensor Wallet repo
235
- run : git clone https://github.com/opentensor/btwallet .git
234
+ - name : Clone async-substrate-interface repo
235
+ run : git clone https://github.com/opentensor/async-substrate-interface .git
236
236
237
237
- name : Checkout PR branch in async-substrate-interface repo
238
238
working-directory : ${{ github.workspace }}/async-substrate-interface
@@ -241,19 +241,19 @@ jobs:
241
241
git checkout ${{ github.event.pull_request.head.ref }}
242
242
echo "Current branch: $(git rev-parse --abbrev-ref HEAD)"
243
243
244
- # - name: Install async-substrate-interface package
245
- # run: |
246
- # source ${{ github.workspace }}/venv/bin/activate
247
- # python3 -m pip uninstall async-substrate-interface -y
248
- # python3 -m pip install .
244
+ - name : Install /async-substrate-interface package
245
+ working-directory : ${{ github.workspace }}/async-substrate-interface
246
+ run : |
247
+ source ${{ github.workspace }}/venv/bin/activate
248
+ pip uninstall async-substrate-interface -y
249
+ pip install .
249
250
250
251
- name : Run SDK integration tests
251
252
run : |
252
253
source ${{ github.workspace }}/venv/bin/activate
253
254
pytest ${{ github.workspace }}/bittensor/tests/integration_tests
254
255
255
256
- name : Run bittensor-sdk unit tests
256
- working-directory : ${{ github.workspace }}
257
257
run : |
258
258
source ${{ github.workspace }}/venv/bin/activate
259
259
pytest ${{ github.workspace }}/bittensor/tests/unit_tests
0 commit comments