name: Run Unit Tests on: push: branches: - main - develop pull_request: jobs: test: runs-on: phpunit_test container: docker.xuanyuan.me/xeden3/ai-code-reviewer-gitea-runner:v1 steps: - name: Checkout code uses: http://119.91.43.128:3003/james/checkout@v4 with: fetch-depth: 2 # 至少获取最近两次提交 - name: Run code review script env: GIT_PROJECT_PATH: /workspace/hui/SCTMES_V5 # Gitea 的工作目录 run: | cd /workspace ./audit_code.sh