From 29c8a27e01287de55d7d84fb44089f6e68cab496 Mon Sep 17 00:00:00 2001 From: Tanya Date: Mon, 12 Jan 2026 13:00:01 -0500 Subject: [PATCH] chore: Remove non-blocking behavior from linting and type checking in CI workflow This commit updates the CI workflow to remove the `|| true` command from the linting and type checking steps, ensuring that these checks will fail the build process if issues are encountered. This change enforces stricter quality control in the CI pipeline, requiring developers to address linting and type checking errors before proceeding with the build. --- .gitea/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c2146ff..da21617 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -104,7 +104,7 @@ jobs: - name: Run ESLint (admin-frontend) run: | cd admin-frontend - npm run lint || true + npm run lint continue-on-error: true - name: Install viewer-frontend dependencies @@ -121,7 +121,7 @@ jobs: - name: Type check (viewer-frontend) run: | cd viewer-frontend - npm run type-check || true + npm run type-check continue-on-error: true python-lint: @@ -146,12 +146,12 @@ jobs: - name: Check Python syntax run: | - find backend -name "*.py" -exec python -m py_compile {} \; || true + find backend -name "*.py" -exec python -m py_compile {} \; continue-on-error: true - name: Run flake8 run: | - flake8 backend --max-line-length=100 --ignore=E501,W503 || true + flake8 backend --max-line-length=100 --ignore=E501,W503 continue-on-error: true test-backend: