mirror of
https://github.com/Alex38Lyon/Synthese-PSM_LARRA.git
synced 2026-09-30 07:21:55 +00:00
Refactor ScriptPython.yml by cleaning up commands
Removed unnecessary commands and comments in the script.
This commit is contained in:
@@ -394,24 +394,24 @@ jobs:
|
|||||||
echo "========================================"
|
echo "========================================"
|
||||||
echo "CHECK DATABASE"
|
echo "CHECK DATABASE"
|
||||||
echo "========================================"
|
echo "========================================"
|
||||||
cd ..
|
|
||||||
echo "========================================"
|
echo "========================================"
|
||||||
echo "Find SQL"
|
echo "Find SQL"
|
||||||
echo "========================================"
|
echo "========================================"
|
||||||
ls -l
|
ls -l
|
||||||
|
echo "========================================"
|
||||||
find Outputs \
|
find Outputs \
|
||||||
-maxdepth 1 \
|
-maxdepth 1 \
|
||||||
-type f \
|
-type f \
|
||||||
-name "*.sql" \
|
-name "*.sql" \
|
||||||
-print
|
-print
|
||||||
ls -l
|
|
||||||
|
|
||||||
SQL_FILE="Outputs/DB_Synthese-PSM_LARRA.sql"
|
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"
|
||||||
exit 1
|
# exit 1
|
||||||
fi
|
fi
|
||||||
echo "Base SQL trouvée :"
|
echo "Base SQL trouvée :"
|
||||||
ls -lh "$SQL_FILE"
|
ls -lh "$SQL_FILE"
|
||||||
@@ -429,6 +429,8 @@ jobs:
|
|||||||
echo "========================================"
|
echo "========================================"
|
||||||
ls -l
|
ls -l
|
||||||
cd Scripts/pyThStat
|
cd Scripts/pyThStat
|
||||||
|
echo "========================================"
|
||||||
|
ls -l
|
||||||
python pyThStat.py --file "/../../Outputs/DB_Synthese-PSM_LARRA.sql"
|
python pyThStat.py --file "/../../Outputs/DB_Synthese-PSM_LARRA.sql"
|
||||||
|
|
||||||
# ============================================================
|
# ============================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user