Update SQL file path in ScriptPython.yml

This commit is contained in:
Alex38Lyon
2026-09-25 19:43:02 +02:00
committed by GitHub
parent 53fdbce1eb
commit 148cbcba6f
+5 -4
View File
@@ -394,7 +394,9 @@ jobs:
echo "========================================" echo "========================================"
echo "CHECK DATABASE" echo "CHECK DATABASE"
echo "========================================" echo "========================================"
SQL_FILE="Outputs/DB_Synthese-PSM_LARRA.sql" cd ..
cd Scripts/pyThStat
SQL_FILE="./../../Outputs/DB_Synthese-PSM_LARRA.sql"
if [ ! -f "$SQL_FILE" ]; then if [ ! -f "$SQL_FILE" ]; then
echo "ERREUR : fichier SQL introuvable :" echo "ERREUR : fichier SQL introuvable :"
echo "$SQL_FILE" echo "$SQL_FILE"
@@ -414,9 +416,8 @@ jobs:
echo "========================================" echo "========================================"
echo "pyThStat" echo "pyThStat"
echo "========================================" echo "========================================"
cd .. ls -l
cd Scripts/pyThStat python pyThStat.py --file "./../../Outputs/DB_Synthese-PSM_LARRA.sql"
python pyThStat.py --file "../../Outputs/DB_Synthese-PSM_LARRA.sql"
# ============================================================ # ============================================================
# 16. Fichiers produits # 16. Fichiers produits