File tree 3 files changed +13
-1
lines changed
3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 36
36
run-tests :
37
37
runs-on : ${{ matrix.os }}
38
38
strategy :
39
+ fail-fast : false
39
40
matrix :
40
41
stack-name : [local]
41
42
os : [windows-latest, ubuntu-latest, macos-13]
Original file line number Diff line number Diff line change @@ -6,7 +6,11 @@ settings:
6
6
parent_image : ' huggingface/transformers-pytorch-gpu'
7
7
build_options :
8
8
platform : ' linux/amd64'
9
+ python_package_installer_args :
10
+ system : null
9
11
{%- endif %}
12
+ python_package_installer : uv
13
+ install_stack_requirements : False
10
14
required_integrations :
11
15
{%- if cloud_of_choice == 'aws' %}
12
16
- aws
Original file line number Diff line number Diff line change 14
14
15
15
16
16
import os
17
+ import sys
17
18
import shutil
18
19
from typing import Generator
19
20
@@ -99,4 +100,10 @@ def clean_zenml_client(
99
100
100
101
# remove all traces, and change working directory back to base path
101
102
os .chdir (orig_cwd )
102
- shutil .rmtree (str (tmp_path ))
103
+ if sys .platform == "win32" :
104
+ try :
105
+ shutil .rmtree (str (tmp_path ))
106
+ except :
107
+ pass
108
+ else :
109
+ shutil .rmtree (str (tmp_path ))
You can’t perform that action at this time.
0 commit comments