Skip to content

Commit 6ea99e6

Browse files
authored
[5.1] Drone setup - Don't execute all system tests on any commit (joomla#43863)
1 parent 37ee470 commit 6ea99e6

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.drone.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,10 @@ steps:
162162
JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK: 1
163163
commands:
164164
- bash tests/System/drone-system-run.sh "$(pwd)" cmysqlmax mysqli mysql
165+
when:
166+
event:
167+
exclude:
168+
- pull_request
165169

166170
- name: phpnext-system-mysql
167171
depends_on:
@@ -177,6 +181,10 @@ steps:
177181
- echo "This test is disabled because php next is not stable yet"
178182
- exit 1
179183
- bash tests/System/drone-system-run.sh "$(pwd)" cmysqlnext mysqli mysql
184+
when:
185+
event:
186+
exclude:
187+
- pull_request
180188

181189
- name: phpmin-system-postgres
182190
depends_on:
@@ -189,6 +197,10 @@ steps:
189197
JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK: 1
190198
commands:
191199
- bash tests/System/drone-system-run.sh "$(pwd)" cpostgres pgsql postgres
200+
when:
201+
event:
202+
exclude:
203+
- pull_request
192204

193205
- name: phpmax-system-postgres
194206
depends_on:
@@ -216,6 +228,10 @@ steps:
216228
- echo "This test is disabled because php next is not stable yet"
217229
- exit 1
218230
- bash tests/System/drone-system-run.sh "$(pwd)" cpostgresnext pgsql postgres
231+
when:
232+
event:
233+
exclude:
234+
- pull_request
219235

220236
- name: artifacts-system-tests
221237
image: joomlaprojects/docker-images:packager
@@ -415,6 +431,6 @@ trigger:
415431

416432
---
417433
kind: signature
418-
hmac: 96994db51bcdf4b618f2b45fded770b4240977209559ce64e9f47c032648d9a1
434+
hmac: f8fbfd2dec2333af5fecaefcf89eceeabdaf973ca96992246e0ce9e0aa697c96
419435

420436
...

0 commit comments

Comments
 (0)