ci: remove PHPUnit, PHPStan and PHPCS
Remove these checks as there are no custom modules.
This commit is contained in:
parent
a96d506f04
commit
dda036f9b1
5 changed files with 3 additions and 106 deletions
18
run
18
run
|
@ -21,9 +21,7 @@ function ci:test {
|
|||
|
||||
composer install --quiet --no-progress
|
||||
|
||||
test --testdox
|
||||
|
||||
quality
|
||||
}
|
||||
|
||||
# Run a command within the php container.
|
||||
|
@ -31,9 +29,6 @@ function cmd {
|
|||
docker compose exec php "${@}"
|
||||
}
|
||||
|
||||
function coding-standards {
|
||||
cmd phpcs "${@}"
|
||||
}
|
||||
|
||||
function composer {
|
||||
_exec php composer "${@}"
|
||||
|
@ -65,10 +60,6 @@ function lint:dockerfile {
|
|||
hadolint/hadolint hadolint --ignore DL3008 --ignore DL3059 -t style "${@}" - < Dockerfile
|
||||
}
|
||||
|
||||
function quality {
|
||||
coding-standards
|
||||
static-analysis
|
||||
}
|
||||
|
||||
function start {
|
||||
cp -v --no-clobber .env.example .env
|
||||
|
@ -76,22 +67,13 @@ function start {
|
|||
docker compose up -d
|
||||
}
|
||||
|
||||
function static-analysis {
|
||||
cmd phpstan --memory-limit=-1 --no-progress "${@}"
|
||||
}
|
||||
|
||||
function stop {
|
||||
docker compose down
|
||||
}
|
||||
|
||||
function test {
|
||||
_exec php phpunit --colors=always "${@}"
|
||||
}
|
||||
|
||||
function test:commit {
|
||||
test --testdox --testsuite functional
|
||||
test --testdox --testsuite kernel
|
||||
test --testdox --testsuite unit
|
||||
|
||||
quality
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue