mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-10 21:31:01 +00:00
Add baseline quality checks (#357)
This commit is contained in:
@@ -422,8 +422,17 @@ docker compose up -d
|
||||
# Logs
|
||||
docker compose logs -f web
|
||||
|
||||
# Validate PHP files
|
||||
find . -name '*.php' -not -path './var/*' -print0 | xargs -0 -n1 php -l
|
||||
# Run every local quality check
|
||||
./scripts/check.sh
|
||||
|
||||
# Run only PHP syntax checks and regression tests
|
||||
./scripts/check.sh php
|
||||
|
||||
# Run all zero-dependency regression and contract tests
|
||||
./scripts/check.sh test
|
||||
|
||||
# Validate Docker Compose
|
||||
./scripts/check.sh compose
|
||||
```
|
||||
|
||||
Repository references:
|
||||
|
||||
Reference in New Issue
Block a user