Script to run all tests (#2329)
* Update package.json * Update package.json
This commit is contained in:
Родитель
b6b300e27f
Коммит
5ec636bcb6
|
@ -26,7 +26,9 @@
|
|||
"do-coverage": "coverage3 erase && coverage3 run -m unittest discover -p '*_test.py' -b && coverage3 html",
|
||||
"coverage": "source cs-env/bin/activate; (npm run start-emulator > /dev/null 2>&1 &); sleep 3; curl --retry 4 http://localhost:15606/ --retry-connrefused; npm run do-coverage; npm run stop-emulator",
|
||||
"view-coverage": "pushd htmlcov/; python3 -m http.server 8080; popd",
|
||||
"mypy": "mypy --ignore-missing-imports --exclude cs-env/ --exclude appengine_config.py .",
|
||||
"lint": "gulp lint-fix && lit-analyzer \"static/elements/chromedash-!(featurelist)*.js\"",
|
||||
"presubmit": "npm test && npm run webtest && npm run lint && npm run mypy",
|
||||
"pylint": "pylint --output-format=parseable *py api/*py customtags/*py framework/*py internals/*py pages/*py",
|
||||
"staging": "./scripts/deploy_site.sh `git describe --always --abbrev=7 --match 'NOT A TAG' --dirty='-tainted'` cr-status-staging",
|
||||
"staging-rc": "./scripts/deploy_site.sh rc cr-status-staging",
|
||||
|
|
Загрузка…
Ссылка в новой задаче