Skip to content

Commit 5fc19a0

Browse files
committed
Fix github deployment
1 parent 8542eec commit 5fc19a0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/main.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ jobs:
2828
composer install --no-interaction --prefer-dist
2929
3030
- name: "PHPCS (PSR-12, Slevomat)"
31-
run: ./vendor/bin/phpcs --standard=./phpcs_codestyle.xml -n src
31+
run: |
32+
composer phpcs
3233
3334
- name: "PHPStan"
34-
run: ./vendor/bin/phpstan analyse --memory-limit=2G
35+
run: |
36+
composer phpstan
3537
3638
- name: "PHPUnit with coverage clover"
3739
run: ./vendor/bin/phpunit -c ./phpunit.xml.dist --coverage-clover clover.xml
@@ -45,4 +47,5 @@ jobs:
4547
fail_ci_if_error: true
4648

4749
- name: "Coverage check"
48-
run: ./vendor/bin/coverage-check clover.xml 85
50+
run: |
51+
composer phpcoverage

0 commit comments

Comments
 (0)