@@ -14,31 +14,52 @@ jobs:
14
14
test-pipelines :
15
15
runs-on : ubuntu-latest
16
16
env :
17
+ ZENML_DEBUG : true
17
18
ZENML_ANALYTICS_OPT_IN : false
19
+ ZENML_LOGGING_VERBOSITY : INFO
20
+ UV_HTTP_TIMEOUT : 600
18
21
19
22
steps :
20
23
- name : Checkout repository
21
24
uses : actions/checkout@v4
22
25
23
26
- name : Set up Python
24
- uses : actions/setup-python@v4
27
+ uses : actions/setup-python@v5
25
28
with :
26
- python-version : " 3.11"
29
+ python-version : " 3.12"
30
+ - name : Install uv
31
+ run : |
32
+ curl -LsSf https://astral.sh/uv/install.sh | sh
33
+ source $HOME/.cargo/env
34
+ echo "$HOME/.cargo/bin" >> $GITHUB_PATH
35
+ - name : Cache UV dependencies
36
+ uses : actions/cache@v4
37
+ with :
38
+ path : ~/.cache/uv
39
+ key : uv-tutorial-${{ runner.os }}-3.12-${{ github.run_id }}
40
+ restore-keys : |
41
+ uv-tutorial-${{ runner.os }}-3.12-
42
+ - name : Create virtual environment
43
+ run : |
44
+ uv venv
27
45
28
46
- name : Install dependencies
29
47
run : |
30
- python -m pip install --upgrade pip
31
- pip install zenml[server] --upgrade
32
- pip install -r requirements.txt
48
+ source .venv/bin/activate
49
+ uv pip install --upgrade pip
50
+ uv pip install zenml[server] --upgrade
51
+ uv pip install -r requirements.txt
33
52
34
53
- name : Initialize ZenML
35
54
run : |
55
+ source .venv/bin/activate
36
56
zenml init
37
- zenml integration install aws s3 -y
57
+ zenml integration install aws s3 -y --uv
38
58
39
59
- name : Run all tutorial pipelines
40
60
id : run_all
41
61
run : |
62
+ source .venv/bin/activate
42
63
failed=()
43
64
for p in \
44
65
"pipelines/hello_pipeline/hello_pipeline.py" \
0 commit comments