2 Commits

Author SHA1 Message Date
7e806ab5ed woodpecker test workflow updated
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2025-06-02 16:58:15 +04:00
33ef75695c woodpecker pipeline file renamed 2025-06-02 16:48:28 +04:00
2 changed files with 8 additions and 9 deletions

8
.woodpecker.yaml Normal file
View File

@ -0,0 +1,8 @@
steps:
- name: test
image: php:7.4-cli
commands:
- apt-get update && apt-get install -y git
- php -l wp-allstars-plugin.php # Syntax check
- find . -name *.php -exec php -l {} \;
- echo "Basic linting passed"

View File

@ -1,9 +0,0 @@
pipeline:
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"