Skip to content

Commit a513dff

Browse files
committed
ci: verify that mac wheels are created
1 parent a0d16e2 commit a513dff

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Jenkinsfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,11 @@ def mac_wheels(pythonVersions, testPackages, params, wheelStashes){
343343
node("mac && python${pythonVersion} && ${arch}"){
344344
unstash "python${pythonVersion} mac ${arch} wheel"
345345
checkout scm
346-
findFiles(glob: 'dist/*.whl').each{
346+
def wheels = findFiles(glob: 'dist/*.whl')
347+
if(wheels.size() == 0){
348+
error "No wheels found to test"
349+
}
350+
wheels.each{
347351
try{
348352
withEnv(["UV_CONFIG_FILE=${createUVConfig()}"]){
349353
timeout(60){

0 commit comments

Comments
 (0)