fix: remove actions/checkout (blocked by GitHub in China)
CI / test (push) Failing after 3s

This commit is contained in:
2026-05-29 22:00:59 +08:00
parent ea61b6a465
commit d71c1156fb
+3 -17
View File
@@ -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 }}" \