From d71c1156fbcb7ad6b1099423db7aba2cb5c5d1a3 Mon Sep 17 00:00:00 2001 From: Peter Zhang <18501667167@qq.com> Date: Fri, 29 May 2026 22:00:59 +0800 Subject: [PATCH] fix: remove actions/checkout (blocked by GitHub in China) --- .gitea/workflows/ci.yml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 982a9ec..89bc93a 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -10,29 +10,15 @@ jobs: test: runs-on: shell steps: - - uses: actions/checkout@v4 - - name: Install dependencies run: pip install -r requirements.txt - - name: Run tests (with result capture) - id: pytest - run: | - python -m pytest tests/ -v - echo "PYTEST_EXIT=$?" >> $GITHUB_ENV + - name: Run tests + run: python -m pytest tests/ -v - - name: Report success - if: success() - run: echo "Tests passed - all good!" - - - name: Report failure - if: failure() - run: echo "Tests failed! Would create issue here." - - - name: Create failure issue + - name: Create issue on failure if: failure() run: | - echo "Creating issue..." python scripts/create_failure_issue.py \ --sha "${{ github.sha }}" \ --branch "${{ github.ref_name }}" \