@@ -14,31 +14,52 @@ jobs:
1414 test-pipelines :
1515 runs-on : ubuntu-latest
1616 env :
17+ ZENML_DEBUG : true
1718 ZENML_ANALYTICS_OPT_IN : false
19+ ZENML_LOGGING_VERBOSITY : INFO
20+ UV_HTTP_TIMEOUT : 600
1821
1922 steps :
2023 - name : Checkout repository
2124 uses : actions/checkout@v4
2225
2326 - name : Set up Python
24- uses : actions/setup-python@v4
27+ uses : actions/setup-python@v5
2528 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
2745
2846 - name : Install dependencies
2947 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
3352
3453 - name : Initialize ZenML
3554 run : |
55+ source .venv/bin/activate
3656 zenml init
37- zenml integration install aws s3 -y
57+ zenml integration install aws s3 -y --uv
3858
3959 - name : Run all tutorial pipelines
4060 id : run_all
4161 run : |
62+ source .venv/bin/activate
4263 failed=()
4364 for p in \
4465 "pipelines/hello_pipeline/hello_pipeline.py" \
0 commit comments