fix(ci): test backend in container environment
Generic Container CI/CD / test-build-publish (push) Successful in 1m11s
Server CI/CD v2 / build-test-publish-and-deploy (push) Successful in 1m11s

This commit is contained in:
2026-09-08 18:26:20 +08:00
parent 8942541759
commit bd857ea5e1
2 changed files with 12 additions and 8 deletions
+1 -5
View File
@@ -13,11 +13,7 @@ jobs:
image_name: gitea.waternetwork.cn/orgtjwater/tjwater-backend
dockerfile: Dockerfile
build_context: .
test_command: |
python -m compileall -q app
python -c "import app.main"
python scripts/check_openapi.py
pytest -q tests
test_target: test
deploy_service: backend
deploy_host: 192.168.1.114
secrets: