mirror of
https://github.com/Alex38Lyon/Synthese-PSM_LARRA.git
synced 2026-11-29 19:58:36 +00:00
Refactor ScriptPython.yml by cleaning up commands
Removed unnecessary commands and comments in the script.
This commit is contained in:
1 parent
7535f5947d
commit
21303bdfd8
1 file changed
+5
-3
@@ -394,24 +394,24 @@ jobs:
|
||||
echo "========================================"
|
||||
echo "CHECK DATABASE"
|
||||
echo "========================================"
|
||||
cd ..
|
||||
|
||||
echo "========================================"
|
||||
echo "Find SQL"
|
||||
echo "========================================"
|
||||
ls -l
|
||||
echo "========================================"
|
||||
find Outputs \
|
||||
-maxdepth 1 \
|
||||
-type f \
|
||||
-name "*.sql" \
|
||||
-print
|
||||
ls -l
|
||||
|
||||
SQL_FILE="Outputs/DB_Synthese-PSM_LARRA.sql"
|
||||
|
||||
if [ ! -f "$SQL_FILE" ]; then
|
||||
echo "ERREUR : fichier SQL introuvable :"
|
||||
echo "$SQL_FILE"
|
||||
exit 1
|
||||
# exit 1
|
||||
fi
|
||||
echo "Base SQL trouvée :"
|
||||
ls -lh "$SQL_FILE"
|
||||
@@ -429,6 +429,8 @@ jobs:
|
||||
echo "========================================"
|
||||
ls -l
|
||||
cd Scripts/pyThStat
|
||||
echo "========================================"
|
||||
ls -l
|
||||
python pyThStat.py --file "/../../Outputs/DB_Synthese-PSM_LARRA.sql"
|
||||
|
||||
# ============================================================
|
||||
|
||||
Reference in new issue
Block a user