ci: 添加测试相关的CI脚本

添加多个测试脚本用于CI流程,包括完整CI流程、Phpspec测试、静态分析、所有测试、代码风格修复与检查以及单元测试
This commit is contained in:
李东云
2025-11-28 17:59:33 +08:00
parent e92a6f46a4
commit 327066b146
7 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env sh
# 代码风格检查脚本
# 检查代码风格,只使用配置文件中定义的规则
./run-in-docker.sh vendor/bin/php-cs-fixer check app/ --allow-risky=yes --config=.php-cs-fixer.dist.php