mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Enabled full test suite on Renovate PRs
no issue - only regression tests were being run on Renovate PRs, which allowed bad updates to go through - this commit enables the full test suite
This commit is contained in:
parent
e8dd42d040
commit
e7d2d440e0
1 changed files with 1 additions and 3 deletions
|
@ -21,9 +21,7 @@ before_script:
|
|||
- if [ $DB == "mysql" ]; then mysql -e 'create database ghost_testing'; fi
|
||||
- if [ "$DB" == "sqlite3" ]; then yarn add --force sqlite3; fi
|
||||
script: |
|
||||
if [[ "$TRAVIS_PULL_REQUEST_BRANCH" =~ ^renovate || "$TRAVIS_EVENT_TYPE" == "cron" ]]; then
|
||||
yarn ci:regression
|
||||
elif [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then
|
||||
if [[ "$TRAVIS_PULL_REQUEST_BRANCH" =~ ^renovate || "$TRAVIS_PULL_REQUEST" == "false" ]]; then
|
||||
grunt test-all --verbose
|
||||
else
|
||||
yarn ci
|
||||
|
|
Loading…
Add table
Reference in a new issue