File tree 1 file changed +10
-6
lines changed
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 33
33
test-files : ${{ steps.get-tests.outputs.test-files }}
34
34
steps :
35
35
- name : Check-out repository under $GITHUB_WORKSPACE
36
- uses : actions/checkout@v2
36
+ uses : actions/checkout@v4
37
37
38
38
- name : Find test files
39
39
id : get-tests
66
66
TARGET : ${{ matrix.rust-target }}
67
67
steps :
68
68
- name : Check-out repository under $GITHUB_WORKSPACE
69
- uses : actions/checkout@v2
69
+ uses : actions/checkout@v4
70
70
71
71
- name : Install dependencies
72
72
run : |
@@ -92,14 +92,18 @@ jobs:
92
92
working-directory : ${{ github.workspace }}/subtensor
93
93
run : git checkout devnet-ready
94
94
95
+ - name : Install uv
96
+ uses : astral-sh/setup-uv@v4
97
+
98
+ - name : install dependencies
99
+ run : uv sync --all-extras --dev
100
+
95
101
- name : Run tests
96
102
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
99
104
100
105
- name : Retry failed tests
101
106
if : failure()
102
107
run : |
103
108
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
You can’t perform that action at this time.
0 commit comments