Rename workflow and enhance file verification

Updated workflow name and modified script execution and file checks.
This commit is contained in:
Alex38Lyon
2026-08-31 21:00:47 +02:00
committed by GitHub
parent cc08f4ad74
commit 99bb0648b9
+35 -4
View File
@@ -1,4 +1,4 @@
name: pyThtoQgis
name: pyThtoQgis-2
on:
push:
@@ -312,8 +312,39 @@ jobs:
run: |
echo "========================================"
echo "Test pyThtoQgis"
echo "pyThtoQgis"
echo "========================================"
python Scripts/pyThtoQgis/pyThtoQgis.py \
--help
python pyThtoQgis.py --folder "../../Outputs/SHP/"
# ------------------------------------------------------------
# Vérification des fichiers générés
# ------------------------------------------------------------
- name: Check generated files
run: |
echo "========================================"
echo "GPKG et logs générés"
echo "========================================"
find Outputs -type f \( \
-name "*.gpkg" -o \
-name "pyThtoQgis.log" \
\) -print
echo
echo "========================================"
echo "Statut Git"
echo "========================================"
git status --short
# ------------------------------------------------------------
# Commit des résultats
# ------------------------------------------------------------
- name: Commit generated files
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: "Auto-run pyThtoQgis"
file_pattern: 'Outputs/**/*.gpkg Outputs/**/pyThtoQgis.log'