Skip to content

Commit 31b554c

Browse files
authored
Add PHP linting in Linting phase instead running last (hestiacp#2511)
* Add PHP linting in Linting phase instead running last * Change image * Update path * Update "Title"
1 parent 8faa6b8 commit 31b554c

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.drone.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ steps:
3535
- name: Run config tests
3636
commands:
3737
- bats ./test/config-tests.bats
38-
- name: Run Check PHP
39-
commands:
40-
- ./test/check_php.sh
4138

4239
trigger:
4340
event: [ pull_request, push ]
@@ -89,10 +86,7 @@ steps:
8986
- name: Run config tests
9087
commands:
9188
- bats ./test/config-tests.bats
92-
- name: Run Check PHP
93-
commands:
94-
- ./test/check_php.sh
95-
89+
9690
trigger:
9791
event: [ pull_request, push ]
9892
ref:
@@ -111,10 +105,14 @@ concurrency:
111105
limit: 1
112106

113107
steps:
114-
- name: shellcheck
108+
- name: Shellcheck
115109
image: koalaman/shellcheck-alpine
116110
commands:
117111
- ./test/shellcheck.sh
112+
- name: PHP 8.1
113+
image: php:8.1-cli-bullseye
114+
commands:
115+
- ./test/check_php.sh ./web/
118116

119117
trigger:
120118
event: [ pull_request, push ]
@@ -169,4 +167,4 @@ trigger:
169167

170168
---
171169
kind: signature
172-
hmac: 07f845f902f859c97c78a346d340f7fb8d4b1242581a242e592b149c13428f50
170+
hmac: fc8c5e5e36ef990ef96ad8c03d55adb814fe8021a40e67877d7dc84a7c36a12f

0 commit comments

Comments
 (0)