fix: manually clone repo from Gitea in test workflow
Run Tests / Backend Tests (push) Failing after 1m35s
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled

This commit is contained in:
Gan, Jimmy
2026-04-04 15:15:06 +08:00
parent a7fa54476d
commit 0c0f3bb6d8
+8 -4
View File
@@ -14,11 +14,10 @@ jobs:
SECRET_KEY: test-secret-key-for-ci-environment-32chars-minimum SECRET_KEY: test-secret-key-for-ci-environment-32chars-minimum
steps: steps:
- name: Debug workspace - name: Checkout repository
run: | run: |
pwd git clone http://gitea:3000/jimmy/nas-tools.git .
ls -la git checkout ${{ github.sha }}
find . -name "dashboard" -type d 2>/dev/null || echo "dashboard not found"
- name: Install Python - name: Install Python
run: | run: |
@@ -48,6 +47,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository
run: |
git clone http://gitea:3000/jimmy/nas-tools.git .
git checkout ${{ github.sha }}
- name: Install Node.js - name: Install Node.js
run: | run: |
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - curl -fsSL https://deb.nodesource.com/setup_20.x | bash -