ci: run minimal tests on PRs and original set on release branches (#12920)

This commit is contained in:
clydin 2018-11-27 17:00:47 -05:00 committed by vikerman
parent 1e5cbd1cc9
commit 69078b54ad
2 changed files with 8 additions and 1 deletions

View File

@ -17,7 +17,7 @@ test_script:
- node --version
- yarn --version
- yarn test
- node tests\legacy-cli\run_e2e.js --appveyor "--glob=tests/{basic,commands,generate,build/styles}/**"
- appveyor-e2e.bat
build: off
deploy: off
@ -25,3 +25,4 @@ deploy: off
cache:
- node_modules -> yarn.lock
- "%LOCALAPPDATA%\\Yarn"

6
appveyor-e2e.bat Normal file
View File

@ -0,0 +1,6 @@
@ECHO OFF
IF defined APPVEYOR_PULL_REQUEST_NUMBER (
node tests\legacy-cli\run_e2e.js --appveyor "--glob=tests/basic/**"
) ELSE (
node tests\legacy-cli\run_e2e.js --appveyor "--glob=tests/{basic,commands,generate,build/styles}/**"
)