56
56
with :
57
57
python-version : 3.x
58
58
59
- - name : Install workflow deps
60
- run : python3 -m pip install meson
59
+ - name : Install uv
60
+ uses : astral-sh/setup-uv@v5
61
+ with :
62
+ enable-cache : true
63
+ cache-dependency-glob : " uv.lock"
61
64
62
65
# # https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages
63
66
- name : Install ninja (Linux)
88
91
if : runner.os == 'Linux'
89
92
env :
90
93
CLANG_VERSION : ' 7'
91
- run : just test ci
94
+ run : uvx nox -s test -- --profile ci
92
95
93
96
- name : Install clang v8
94
97
if : runner.os == 'Linux'
@@ -100,7 +103,7 @@ jobs:
100
103
if : runner.os == 'Linux'
101
104
env :
102
105
CLANG_VERSION : ' 8'
103
- run : just test ci
106
+ run : uvx nox -s test -- --profile ci
104
107
105
108
- name : Install clang v9
106
109
uses : ./.github/install-clang-action
@@ -110,7 +113,7 @@ jobs:
110
113
- name : Collect Coverage for clang v9
111
114
env :
112
115
CLANG_VERSION : ' 9'
113
- run : just test ci
116
+ run : uvx nox -s test -- --profile ci
114
117
115
118
- name : Install clang v10
116
119
uses : ./.github/install-clang-action
@@ -120,7 +123,7 @@ jobs:
120
123
- name : Collect Coverage for clang v10
121
124
env :
122
125
CLANG_VERSION : ' 10'
123
- run : just test ci
126
+ run : uvx nox -s test -- --profile ci
124
127
125
128
- name : Install clang 11
126
129
uses : ./.github/install-clang-action
@@ -130,7 +133,7 @@ jobs:
130
133
- name : Collect Coverage for clang v11
131
134
env :
132
135
CLANG_VERSION : ' 11'
133
- run : just test ci
136
+ run : uvx nox -s test -- --profile ci
134
137
135
138
- name : Install clang 12
136
139
uses : ./.github/install-clang-action
@@ -140,7 +143,7 @@ jobs:
140
143
- name : Collect Coverage for clang v12
141
144
env :
142
145
CLANG_VERSION : ' 12'
143
- run : just test ci
146
+ run : uvx nox -s test -- --profile ci
144
147
145
148
- name : Install clang 13
146
149
uses : ./.github/install-clang-action
@@ -150,7 +153,7 @@ jobs:
150
153
- name : Collect Coverage for clang v13
151
154
env :
152
155
CLANG_VERSION : ' 13'
153
- run : just test ci
156
+ run : uvx nox -s test -- --profile ci
154
157
155
158
- name : Install clang 14
156
159
uses : ./.github/install-clang-action
@@ -160,7 +163,7 @@ jobs:
160
163
- name : Collect Coverage for clang v14
161
164
env :
162
165
CLANG_VERSION : ' 14'
163
- run : just test ci
166
+ run : uvx nox -s test -- --profile ci
164
167
165
168
- name : Install clang 15
166
169
uses : ./.github/install-clang-action
@@ -170,7 +173,7 @@ jobs:
170
173
- name : Collect Coverage for clang v15
171
174
env :
172
175
CLANG_VERSION : ' 15'
173
- run : just test ci
176
+ run : uvx nox -s test -- --profile ci
174
177
175
178
- name : Install clang 16
176
179
uses : ./.github/install-clang-action
@@ -180,7 +183,7 @@ jobs:
180
183
- name : Collect Coverage for clang v16
181
184
env :
182
185
CLANG_VERSION : ' 16'
183
- run : just test ci
186
+ run : uvx nox -s test -- --profile ci
184
187
185
188
- name : Install clang 17
186
189
uses : ./.github/install-clang-action
@@ -190,7 +193,7 @@ jobs:
190
193
- name : Collect Coverage for clang v17
191
194
env :
192
195
CLANG_VERSION : ' 17'
193
- run : just test ci
196
+ run : uvx nox -s test -- --profile ci
194
197
195
198
- name : Install clang 18
196
199
uses : ./.github/install-clang-action
@@ -200,10 +203,10 @@ jobs:
200
203
- name : Collect Coverage for clang v18
201
204
env :
202
205
CLANG_VERSION : ' 18'
203
- run : just test all
206
+ run : uvx nox -s test -- --profile all
204
207
205
208
- name : Generate Coverage HTML report
206
- run : just pretty-cov
209
+ run : uvx nox -s pretty-cov
207
210
208
211
- name : Upload coverage data
209
212
uses : actions/upload-artifact@v4
@@ -214,7 +217,7 @@ jobs:
214
217
- name : Generate Coverage lcov report
215
218
run : |
216
219
rm coverage.json
217
- just lcov
220
+ uvx nox -s lcov
218
221
219
222
- uses : codecov/codecov-action@v5
220
223
with :
0 commit comments