Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 27 additions & 6 deletions .github/workflows/test-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,52 @@ jobs:
test-pipelines:
runs-on: ubuntu-latest
env:
ZENML_DEBUG: true
ZENML_ANALYTICS_OPT_IN: false
ZENML_LOGGING_VERBOSITY: INFO
UV_HTTP_TIMEOUT: 600

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.cargo/env
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Cache UV dependencies
uses: actions/cache@v4
with:
path: ~/.cache/uv
key: uv-tutorial-${{ runner.os }}-3.12-${{ github.run_id }}
restore-keys: |
uv-tutorial-${{ runner.os }}-3.12-
- name: Create virtual environment
run: |
uv venv

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install zenml[server] --upgrade
pip install -r requirements.txt
source .venv/bin/activate
uv pip install --upgrade pip
uv pip install zenml[server] --upgrade
uv pip install -r requirements.txt

- name: Initialize ZenML
run: |
source .venv/bin/activate
zenml init
zenml integration install aws s3 -y
zenml integration install aws s3 -y --uv

- name: Run all tutorial pipelines
id: run_all
run: |
source .venv/bin/activate
failed=()
for p in \
"pipelines/hello_pipeline/hello_pipeline.py" \
Expand Down
Loading