Install house-style Python packages before backend CI
ci / vet-and-test (pull_request) Successful in 43s

Why: TestLintErrorContinues imports the house-style linter, which needs python-docx, python-pptx, and openpyxl.
Evidence: Actions run 678 failed that test with ModuleNotFoundError: No module named docx after submodules checked out.
Impact: The packages come from the Tsinghua PyPI mirror. The test command is unchanged.
Refs: feature/agent-stack-r0-r1
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-03 12:46:10 +00:00
co-authored by Cursor
parent 26474b4752
commit b365fd0f22
+2
View File
@@ -33,5 +33,7 @@ jobs:
tar -C /usr/local -xzf "$RUNNER_TEMP/go.tgz"
ln -sfn /usr/local/go/bin/go /usr/local/bin/go
ln -sfn /usr/local/go/bin/gofmt /usr/local/bin/gofmt
- name: Install house-style Python packages
run: python3 -m pip install --break-system-packages -i https://pypi.tuna.tsinghua.edu.cn/simple python-docx python-pptx openpyxl
- name: Vet and test
run: GOWORK=off go vet ./... && GOWORK=off go test -count=1 ./...