From 7965139230a688f337121024d265254f8211582f Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Thu, 28 May 2026 13:06:21 -0400 Subject: [PATCH] ci: re-enable coverage artifact upload via native Gitea runner (v3) --- .gitea/workflows/ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index df24f8f..21eadef 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -50,10 +50,14 @@ jobs: pip install -r backend/requirements.txt - name: Run tests - run: pytest tests/ --cov=backend --cov-report=term -q - # Coverage report is printed in console (--cov-report=term). - # XML artifact upload (actions/upload-artifact@v4) not available - # on self-hosted Gitea runner without GitHub internet access. + run: pytest tests/ --cov=backend --cov-report=xml --cov-report=term -q + + - name: Upload coverage artifact + uses: actions/upload-artifact@v3 + with: + name: coverage-report + path: coverage.xml + retention-days: 30 # ── Security scan ───────────────────────────────────────────────── security: