diff --git a/.forgejo/workflows/pipeline.yml b/.forgejo/workflows/pipeline.yml index 9d03f60..22d0898 100644 --- a/.forgejo/workflows/pipeline.yml +++ b/.forgejo/workflows/pipeline.yml @@ -23,16 +23,16 @@ jobs: - name: Recuperation du code uses: actions/checkout@v4 - - name: Installation de Python - uses: actions/setup-python@v5 - with: - python-version: "3.14" - - - name: Installation des dependances - run: pip install -r requirements.txt + - name: Installation de Python et des dependances + run: | + apt-get update + apt-get install -y --no-install-recommends python3-venv + python3 -m venv .venv + .venv/bin/pip install --upgrade pip + .venv/bin/pip install -r requirements.txt - name: Execution du pipeline (split -> train --register -> promote) - run: python pipeline.py + run: .venv/bin/python pipeline.py env: # Serveur MLflow (basic auth) : URLs HTTPS via Caddy, resolues sur mlops-net. MLFLOW_TRACKING_URI: ${{ secrets.MLFLOW_TRACKING_URI }}