Skip to content

Commit

Permalink
Use codeception.dist.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dillon-Brown committed Sep 22, 2019
1 parent 98a8376 commit e6db6e5
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 57 deletions.
56 changes: 0 additions & 56 deletions .codeception.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ matrix:
- name: "code coverage"
php: "7.0"
dist: xenial
script: ./vendor/bin/codecept run install --env travis-ci-hub -f --ext DotReporter; echo "\$sugar_config['state_checker']['test_state_check_mode'] = 1;" >> config_override.php ; ./vendor/bin/robo code:coverage --ci; cat codeception.yml; bash <(curl -s https://codecov.io/bash) -f tests/_output/coverage.xml
script: ./vendor/bin/codecept run install --env travis-ci-hub -f --ext DotReporter; echo "\$sugar_config['state_checker']['test_state_check_mode'] = 1;" >> config_override.php ; ./vendor/bin/robo code:coverage --ci; cat codeception.dist.yml; bash <(curl -s https://codecov.io/bash) -f tests/_output/coverage.xml

services:
- mysql
Expand Down
53 changes: 53 additions & 0 deletions codeception.dist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
actor: Tester
paths:
tests: tests
log: tests/_output
data: tests/_data
support: tests/_support
envs: tests/_envs
settings:
bootstrap: _bootstrap.php
colors: true
memory_limit: 16000M
extensions:
enabled:
- Codeception\Extension\RunFailed
coverage:
enabled: true
remote: false
low_limit: 50
high_limit: 90
include:
- ModuleInstall/*.php
- data/*.php
- include/*.php
- install/*.php
- jssource/*.php
- lib/*.php
- metadata/*.php
- modules/*.php
- service/*.php
- soap/*.php
- themes/*.php
exclude:
- include/SuiteGraphs/*
- include/social/*
- include/reCaptcha/*
- include/phpmailer/*
- include/Pear/*
- include/pclzip/*
- include/nusoap/*
- include/HTTP_WebDAV_Server/*
- include/HTMLPurifier/*
- include/SugarXHprof/*
- include/ytree/*
- include/php-sql-parser.php
- include/parsecsv.lib.php
- modules/AOS_PDF_Templates/PDF_Lib/*
- modules/AOD_Index/Lib/*
- modules/Users/authentication/SAML2Authenticate/lib/*
- install/demoData.en_us.php
- include/tcpdf/*
- modules/AOR_Charts/lib/*
params:
- env

0 comments on commit e6db6e5

Please sign in to comment.