From 937739cb0d40e9cf74ee2e354a5f7207fd3fc3f7 Mon Sep 17 00:00:00 2001 From: Art4 Date: Thu, 28 Nov 2024 12:55:37 +0000 Subject: [PATCH] Move phpstan step back into phpunit pipeline --- .woodpecker/.code_standards_check.yml | 9 +-------- .woodpecker/.phpunit.yml | 7 +++++++ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.woodpecker/.code_standards_check.yml b/.woodpecker/.code_standards_check.yml index 21e57de672..30938f15fe 100644 --- a/.woodpecker/.code_standards_check.yml +++ b/.woodpecker/.code_standards_check.yml @@ -30,14 +30,7 @@ steps: - '.composer' volumes: - /tmp/drone-cache:/tmp/cache - phpstan: - image: friendicaci/php${PHP_MAJOR_VERSION}:php${PHP_VERSION} - when: - matrix: - PHP_MAJOR_VERSION: 8.2 - commands: - - bin/composer.phar run phpstan; - codestyle: + check: image: friendicaci/php-cs commands: - if [ ! -z "$${CI_COMMIT_PULL_REQUEST}" ]; then diff --git a/.woodpecker/.phpunit.yml b/.woodpecker/.phpunit.yml index 63309d0928..c3860e6f91 100644 --- a/.woodpecker/.phpunit.yml +++ b/.woodpecker/.phpunit.yml @@ -55,6 +55,13 @@ steps: - '.composer' volumes: - /tmp/drone-cache:/tmp/cache + phpstan: + image: friendicaci/php${PHP_MAJOR_VERSION}:php${PHP_VERSION} + when: + matrix: + PHP_MAJOR_VERSION: 8.2 + commands: + - bin/composer.phar run phpstan; test: image: friendicaci/php${PHP_MAJOR_VERSION}:php${PHP_VERSION} environment: