Skip to content

Commit

Permalink
Explicitely run the test and lint commands with their configuration f…
Browse files Browse the repository at this point in the history
…ile parameters
  • Loading branch information
coenjacobs committed Sep 8, 2024
1 parent 22f6285 commit 9765981
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM php:8.3.9-cli-alpine AS base
FROM base as builder
RUN apk update && apk add git
COPY --from=composer /usr/bin/composer /usr/bin/composer
COPY ./composer.json /mozart/
COPY ./ /mozart/
WORKDIR /mozart/
RUN composer install

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@
],
"test:lint": [
"composer validate",
"./vendor/bin/phpcs"
"./vendor/bin/phpcs --standard=phpcs.xml.dist"
],
"test:phpunit": [
"./vendor/bin/phpunit"
"./vendor/bin/phpunit -c phpunit.xml.dist"
],
"test:phpstan": [
"./vendor/bin/phpstan --memory-limit=2G"
"./vendor/bin/phpstan analyse -c phpstan.neon.dist --memory-limit=2G"
]
}
}
File renamed without changes.
File renamed without changes.

0 comments on commit 9765981

Please sign in to comment.