From 99bb0648b93e0ae215ae2fb098bbf45c9550a9fc Mon Sep 17 00:00:00 2001 From: Alex38Lyon <55714436+Alex38Lyon@users.noreply.github.com> Date: Mon, 31 Aug 2026 21:00:47 +0200 Subject: [PATCH] Rename workflow and enhance file verification Updated workflow name and modified script execution and file checks. --- .github/workflows/pyThtoQgis-2.yml | 39 +++++++++++++++++++++++++++--- 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pyThtoQgis-2.yml b/.github/workflows/pyThtoQgis-2.yml index c616f72..7e85003 100644 --- a/.github/workflows/pyThtoQgis-2.yml +++ b/.github/workflows/pyThtoQgis-2.yml @@ -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' +