diff --git a/.github/workflows/airflow.yml b/.github/workflows/airflow.yml index d5a722a..d98b780 100644 --- a/.github/workflows/airflow.yml +++ b/.github/workflows/airflow.yml @@ -90,12 +90,10 @@ jobs: docker run --rm --network none enervision-airflow:ci bash -c "cd /opt/ml && env -u VIRTUAL_ENV uv run --no-sync python -m enervision_ml.train --help" - # `--help` sort par argparse avant `get_settings()` : ni base ni secret requis, et - # l'import du module prouve que l'environnement /opt/backend est complet. Les deux - # commandes du DAG `alertes` sont couvertes, `app.cli` tirant tout FastAPI derrière lui. - - name: Vérifie que les deux commandes du DAG alertes s'importent sans réseau + # `--help` valide que le module historique et ses dépendances sont présents dans + # l'environnement backend embarqué, sans nécessiter PostgreSQL ni accès réseau. + - name: Vérifie que l'import historique s'importe sans réseau run: > docker run --rm --network none enervision-airflow:ci bash -c "cd /opt/backend - && env -u VIRTUAL_ENV uv run --no-sync python -m app.detection.internal_alerts --help - && env -u VIRTUAL_ENV uv run --no-sync python -m app.cli generate-recommendations --help" + && env -u VIRTUAL_ENV uv run --no-sync python -m app.etl.historical_import --help" \ No newline at end of file