Compare commits
2 Commits
0fc2009391
...
v0.2.5.1
Author | SHA1 | Date | |
---|---|---|---|
7e806ab5ed | |||
33ef75695c |
8
.woodpecker.yaml
Normal file
8
.woodpecker.yaml
Normal 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"
|
@ -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"
|
Reference in New Issue
Block a user