@@ -167,8 +167,8 @@ jobs:
167167 php -d opcache.enable_cli=1 vendor/bin/phpunit --exclude-group none $(if [ -n "$LOG_COVERAGE" ]; then echo --coverage-text; else echo --no-coverage; fi) -v
168168 if [ -n "$LOG_COVERAGE" ]; then mv coverage/phpunit.cov coverage/phpunit-mysql.cov; fi
169169
170- - name : " Run tests: MariaDB"
171- if : success() || failure()
170+ - name : " Run tests: MariaDB (only for cron) "
171+ if : ( success() || failure()) && github.event_name == 'schedule'
172172 env :
173173 DB_DSN : " mysql:host=mariadb;dbname=atk4_test"
174174 DB_USER : atk4_test_user
@@ -179,8 +179,8 @@ jobs:
179179 php -d opcache.enable_cli=1 vendor/bin/phpunit --exclude-group none $(if [ -n "$LOG_COVERAGE" ]; then echo --coverage-text; else echo --no-coverage; fi) -v
180180 if [ -n "$LOG_COVERAGE" ]; then mv coverage/phpunit.cov coverage/phpunit-mariadb.cov; fi
181181
182- - name : " Run tests: PostgreSQL"
183- if : success() || failure()
182+ - name : " Run tests: PostgreSQL (only for cron) "
183+ if : ( success() || failure()) && github.event_name == 'schedule'
184184 env :
185185 DB_DSN : " pgsql:host=postgres;dbname=atk4_test"
186186 DB_USER : atk4_test_user
@@ -191,8 +191,8 @@ jobs:
191191 php -d opcache.enable_cli=1 vendor/bin/phpunit --exclude-group none $(if [ -n "$LOG_COVERAGE" ]; then echo --coverage-text; else echo --no-coverage; fi) -v
192192 if [ -n "$LOG_COVERAGE" ]; then mv coverage/phpunit.cov coverage/phpunit-postgres.cov; fi
193193
194- - name : " Run tests: MSSQL"
195- if : success() || failure()
194+ - name : " Run tests: MSSQL (only for cron) "
195+ if : ( success() || failure()) && github.event_name == 'schedule'
196196 env :
197197 DB_DSN : " sqlsrv:host=mssql;dbname=master;driverOptions[TrustServerCertificate]=1"
198198 DB_USER : sa
@@ -203,8 +203,8 @@ jobs:
203203 php -d opcache.enable_cli=1 vendor/bin/phpunit --exclude-group none $(if [ -n "$LOG_COVERAGE" ]; then echo --coverage-text; else echo --no-coverage; fi) -v
204204 if [ -n "$LOG_COVERAGE" ]; then mv coverage/phpunit.cov coverage/phpunit-mssql.cov; fi
205205
206- - name : " Run tests: Oracle"
207- if : success() || failure()
206+ - name : " Run tests: Oracle (only for cron) "
207+ if : ( success() || failure()) && github.event_name == 'schedule'
208208 env :
209209 DB_DSN : " oci:dbname=oracle/xe"
210210 DB_USER : system
@@ -379,8 +379,8 @@ jobs:
379379 php demos/_demo-data/create-db.php
380380 vendor/bin/behat -vv --config behat.yml.dist
381381
382- - name : " Run tests: MariaDB (only for coverage or cron)"
383- if : (success() || failure()) && (env.LOG_COVERAGE || github.event_name == 'schedule')
382+ - name : " Run tests: MariaDB (only for cron)"
383+ if : (success() || failure()) && github.event_name == 'schedule'
384384 env :
385385 DB_DSN : " mysql:host=mariadb;dbname=atk4_test"
386386 DB_USER : atk4_test_user
@@ -390,8 +390,8 @@ jobs:
390390 php demos/_demo-data/create-db.php
391391 vendor/bin/behat -vv --config behat.yml.dist
392392
393- - name : " Run tests: PostgreSQL (only for coverage or cron)"
394- if : (success() || failure()) && (env.LOG_COVERAGE || github.event_name == 'schedule')
393+ - name : " Run tests: PostgreSQL (only for cron)"
394+ if : (success() || failure()) && github.event_name == 'schedule'
395395 env :
396396 DB_DSN : " pgsql:host=postgres;dbname=atk4_test"
397397 DB_USER : atk4_test_user
@@ -401,8 +401,8 @@ jobs:
401401 php demos/_demo-data/create-db.php
402402 vendor/bin/behat -vv --config behat.yml.dist
403403
404- - name : " Run tests: MSSQL (only for coverage or cron)"
405- if : (success() || failure()) && (env.LOG_COVERAGE || github.event_name == 'schedule')
404+ - name : " Run tests: MSSQL (only for cron)"
405+ if : (success() || failure()) && github.event_name == 'schedule'
406406 env :
407407 DB_DSN : " sqlsrv:host=mssql;dbname=master;driverOptions[TrustServerCertificate]=1"
408408 DB_USER : sa
@@ -412,8 +412,8 @@ jobs:
412412 php demos/_demo-data/create-db.php
413413 vendor/bin/behat -vv --config behat.yml.dist
414414
415- - name : " Run tests: Oracle (only for coverage or cron)"
416- if : (success() || failure()) && (env.LOG_COVERAGE || github.event_name == 'schedule')
415+ - name : " Run tests: Oracle (only for cron)"
416+ if : (success() || failure()) && github.event_name == 'schedule'
417417 env :
418418 DB_DSN : " oci:dbname=oracle/xe"
419419 DB_USER : system
0 commit comments