From 7e806ab5ed87ba578297d1758381b731d21df259 Mon Sep 17 00:00:00 2001 From: Vladimir D Date: Mon, 2 Jun 2025 16:52:06 +0400 Subject: [PATCH] woodpecker test workflow updated --- .woodpecker.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 60844ed..9d3729e 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -1,9 +1,8 @@ -pipeline: - test: +steps: + - name: test image: php:7.4-cli commands: - apt-get update && apt-get install -y git - - php -l wpa-superstar-plugin.php # Syntax check - - php -l admin/settings.php - - php -l includes/speed-functions.php - - echo "Basic linting passed" \ No newline at end of file + - php -l wp-allstars-plugin.php # Syntax check + - find . -name *.php -exec php -l {} \; + - echo "Basic linting passed"