From 3057fc270b5892228ce4c1dfe437f2d3650549d7 Mon Sep 17 00:00:00 2001 From: "Gan, Jimmy" Date: Thu, 4 Jun 2026 18:16:36 +0800 Subject: [PATCH] fix(ci): move all test jobs to VPS runner - NAS HDD too slow NAS is using 4.7GB swap causing tests to hang in D state for 20+ min. VPS has SSD and plenty of RAM - tests complete in ~1-2 min there. --- .gitea/workflows/deploy-dev.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy-dev.yml b/.gitea/workflows/deploy-dev.yml index 4774a5c..dfbbc80 100644 --- a/.gitea/workflows/deploy-dev.yml +++ b/.gitea/workflows/deploy-dev.yml @@ -14,7 +14,7 @@ concurrency: jobs: backend-tests: name: Backend Tests - runs-on: ubuntu-latest + runs-on: vps env: SECRET_KEY: test-secret-key-for-ci-environment-32chars-minimum @@ -22,7 +22,7 @@ jobs: - name: Checkout repository run: | if [ ! -d .git ]; then - git clone --depth=1 "http://gitea:3000/${GITHUB_REPOSITORY}.git" . + git clone --depth=1 "http://100.78.131.124:3300/${GITHUB_REPOSITORY}.git" . fi - name: Setup Python @@ -97,13 +97,13 @@ jobs: frontend-tests: name: Frontend Tests - runs-on: ubuntu-latest + runs-on: vps steps: - name: Checkout repository run: | if [ ! -d .git ]; then - git clone --depth=1 "http://gitea:3000/${GITHUB_REPOSITORY}.git" . + git clone --depth=1 "http://100.78.131.124:3300/${GITHUB_REPOSITORY}.git" . fi - name: Setup Node.js