From 8266220f122e9428736d5b607e7eb9501e8c0367 Mon Sep 17 00:00:00 2001 From: dresber Date: Sun, 10 May 2026 19:54:45 +0200 Subject: [PATCH] adopt coverage upload to avoid problems --- .gitea/workflows/python-checks.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/python-checks.yml b/.gitea/workflows/python-checks.yml index 0b5e274..69a05f7 100644 --- a/.gitea/workflows/python-checks.yml +++ b/.gitea/workflows/python-checks.yml @@ -45,11 +45,18 @@ jobs: pip-audit -r req.txt bandit -r app/ - - name: Upload Coverage + - name: Upload Coverage HTML if: always() uses: actions/upload-artifact@v3 with: - name: coverage-report - path: | - htmlcov/ - coverage.xml \ No newline at end of file + name: coverage-html + path: htmlcov/ + if-no-files-found: warn + + - name: Upload Coverage XML + if: always() + uses: actions/upload-artifact@v3 + with: + name: coverage-xml + path: coverage.xml + if-no-files-found: warn \ No newline at end of file