@@ -53,15 +53,15 @@ jobs:
53
53
54
54
- name : Upgrade pip
55
55
run : |
56
- python -m pip install --upgrade --user pip
56
+ python -m pip install --upgrade pip
57
57
58
58
- name : Get pip cache dir
59
59
id : pip-cache
60
60
shell : bash
61
61
run : |
62
62
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
63
63
64
- - name : pip cache
64
+ - name : Load github cache
65
65
uses : actions/cache@v4
66
66
with :
67
67
path : ${{ steps.pip-cache.outputs.dir }}
@@ -116,23 +116,25 @@ jobs:
116
116
K3D_VERSION=v5.6.3
117
117
wget -q -O - https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=$K3D_VERSION bash
118
118
119
- - name : Get pip cache dir
119
+ - name : Install pip dependencies
120
+ run : |
121
+ python -m pip install --upgrade pip
122
+ pip install uv==0.2.17 tox tox-uv==1.9.0
123
+ uv --version
124
+
125
+ - name : Get uv cache dir
120
126
id : pip-cache
121
127
shell : bash
122
128
run : |
123
- echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
129
+ echo "dir=$(uv cache dir)" >> $GITHUB_OUTPUT
124
130
125
- - name : pip cache
131
+ - name : Load github cache
126
132
uses : actions/cache@v4
127
133
with :
128
134
path : ${{ steps.pip-cache.outputs.dir }}
129
135
key : ${{ runner.os }}-pip-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}
130
136
restore-keys : |
131
- ${{ runner.os }}-pip-py${{ matrix.python-version }}-
132
-
133
- - name : Install tox
134
- run : |
135
- pip install --upgrade pip==24.0 uv==0.2.13 tox tox-uv==1.9.0
137
+ ${{ runner.os }}-uv-py${{ matrix.python-version }}-
136
138
137
139
- name : Run K8s tests
138
140
env :
@@ -164,15 +166,15 @@ jobs:
164
166
165
167
- name : Upgrade pip
166
168
run : |
167
- python -m pip install --upgrade --user pip
169
+ python -m pip install --upgrade pip
168
170
169
171
- name : Get pip cache dir
170
172
id : pip-cache
171
173
shell : bash
172
174
run : |
173
175
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
174
176
175
- - name : pip cache
177
+ - name : Load github cache
176
178
uses : actions/cache@v4
177
179
with :
178
180
path : ${{ steps.pip-cache.outputs.dir }}
@@ -193,7 +195,7 @@ jobs:
193
195
194
196
- name : Install tox and uv
195
197
run : |
196
- pip install --upgrade pip==24.0 uv==0.2.13 tox tox-uv==1.9.0 tox-current-env
198
+ pip install uv==0.2.17 tox tox-uv==1.9.0 tox-current-env
197
199
198
200
- name : Run unit tests
199
201
run : |
0 commit comments