diff --git a/.gitea/workflows/diagnostic.yml b/.gitea/workflows/diagnostic.yml index 21cae11..0bdab95 100644 --- a/.gitea/workflows/diagnostic.yml +++ b/.gitea/workflows/diagnostic.yml @@ -13,11 +13,10 @@ concurrency: support-diagnostic jobs: run: runs-on: ubuntu-latest # le label du runner de l'entreprise, à donner par Maxime + container: python:3.12 # setup-python échoue sur le runner de l'entreprise (2026-11-09) : Python vient de l'image steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: "3.12" + - name: Récupérer le code # sans action Node : l'image python n'a pas Node + run: git init -q . && git fetch -q --depth 1 "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git" "$GITHUB_SHA" && git checkout -q FETCH_HEAD - run: pip install -r requirements.txt - run: python -m support_diagnostic.run env: diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index 6572f43..bc1a86c 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -3,10 +3,9 @@ on: push jobs: tests: runs-on: ubuntu-latest # le label du runner de l'entreprise, à donner par Maxime + container: python:3.12 # setup-python échoue sur le runner de l'entreprise (2026-11-09) : Python vient de l'image steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: "3.12" + - name: Récupérer le code # sans action Node : l'image python n'a pas Node + run: git init -q . && git fetch -q --depth 1 "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git" "$GITHUB_SHA" && git checkout -q FETCH_HEAD - run: pip install -r requirements.txt - run: python -m unittest discover -s tests -v # test_instance est sauté : pas d'instance de test ici