fix(ci): remove upload-artifact@v4 step incompatible with Gitea Actions
CI Pipeline / backend-test (push) Successful in 12s
CI Pipeline / quality-gate (push) Successful in 2s
CI Pipeline / quality-gate (pull_request) Successful in 2s
CI Pipeline / frontend-test (push) Successful in 27s
CI Pipeline / backend-lint (push) Successful in 8s
CI Pipeline / backend-test (pull_request) Successful in 12s
CI Pipeline / frontend-test (pull_request) Successful in 27s
CI Pipeline / backend-lint (pull_request) Successful in 8s

The actions/upload-artifact@v4 step fails on Gitea with:
  GHESNotSupportedError: @actions/artifact v2.0.0+ not supported on GHES.

Coverage is already enforced via --cov-fail-under=10 in the test step,
so the artifact upload was redundant anyway.
This commit is contained in:
CI Bot
2026-07-29 18:32:52 +00:00
parent 0771a07478
commit d7075b163a
-7
View File
@@ -22,13 +22,6 @@ jobs:
run: | run: |
cd backend cd backend
python -m pytest tests/ --cov=app --cov-report=term-missing --cov-report=xml --cov-fail-under=10 python -m pytest tests/ --cov=app --cov-report=term-missing --cov-report=xml --cov-fail-under=10
- name: Upload coverage report
if: always()
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: backend/coverage.xml
frontend-test: frontend-test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: