Skip to content

Commit 9b955bb

Browse files
authored
Merge branch 'staging' into tests/zyzniewski/refactor_duplicated_code
2 parents 8b4bb67 + 088e274 commit 9b955bb

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.github/workflows/e2e-subtensor-tests.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
test-files: ${{ steps.get-tests.outputs.test-files }}
3434
steps:
3535
- name: Check-out repository under $GITHUB_WORKSPACE
36-
uses: actions/checkout@v2
36+
uses: actions/checkout@v4
3737

3838
- name: Find test files
3939
id: get-tests
@@ -66,7 +66,7 @@ jobs:
6666
TARGET: ${{ matrix.rust-target }}
6767
steps:
6868
- name: Check-out repository under $GITHUB_WORKSPACE
69-
uses: actions/checkout@v2
69+
uses: actions/checkout@v4
7070

7171
- name: Install dependencies
7272
run: |
@@ -92,14 +92,18 @@ jobs:
9292
working-directory: ${{ github.workspace }}/subtensor
9393
run: git checkout devnet-ready
9494

95+
- name: Install uv
96+
uses: astral-sh/setup-uv@v4
97+
98+
- name: install dependencies
99+
run: uv sync --all-extras --dev
100+
95101
- name: Run tests
96102
run: |
97-
python3 -m pip install -e .[dev] pytest
98-
LOCALNET_SH_PATH="${{ github.workspace }}/subtensor/scripts/localnet.sh" pytest ${{ matrix.test-file }} -s
103+
LOCALNET_SH_PATH="${{ github.workspace }}/subtensor/scripts/localnet.sh" uv run pytest ${{ matrix.test-file }} -s
99104
100105
- name: Retry failed tests
101106
if: failure()
102107
run: |
103108
sleep 10
104-
python3 -m pip install -e .[dev] pytest
105-
LOCALNET_SH_PATH="${{ github.workspace }}/subtensor/scripts/localnet.sh" pytest ${{ matrix.test-file }} -s
109+
LOCALNET_SH_PATH="${{ github.workspace }}/subtensor/scripts/localnet.sh" uv run pytest ${{ matrix.test-file }} -s

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencies = [
3838
"websockets>=14.1",
3939
"bittensor-commit-reveal>=0.2.0",
4040
"bittensor-wallet>=3.0.4",
41-
"async-substrate-interface>=1.0.4"
41+
"async-substrate-interface>=1.0.5"
4242
]
4343

4444
[project.optional-dependencies]

0 commit comments

Comments
 (0)