Merge "Cleanup the test settings"
This commit is contained in:
commit
fd48c2d0e5
16
.gitignore
vendored
16
.gitignore
vendored
@ -1,17 +1,19 @@
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
build
|
||||
coverage-karma
|
||||
cover
|
||||
doc/source/sourcecode
|
||||
magnum_ui/test/.secret_key_store
|
||||
node_modules
|
||||
npm-debug.log
|
||||
.venv
|
||||
.coverage*
|
||||
.jshintrc
|
||||
.project
|
||||
.pydevproject
|
||||
.settings
|
||||
.tox
|
||||
*.pyc
|
||||
*.lock
|
||||
.venv
|
||||
*.egg*
|
||||
*.lock
|
||||
*.pyc
|
||||
*.swp
|
||||
.coverage
|
||||
coverage.xml
|
||||
htmlcov
|
||||
|
@ -141,7 +141,7 @@ module.exports = function (config) {
|
||||
// Places coverage report in HTML format in the subdirectory below.
|
||||
coverageReporter: {
|
||||
type: 'html',
|
||||
dir: '../coverage-karma/'
|
||||
dir: '../cover/karma/'
|
||||
},
|
||||
|
||||
// Coverage threshold values.
|
||||
|
@ -28,6 +28,7 @@
|
||||
"scripts": {
|
||||
"postinstall": "if [ ! -d .tox ] || [ ! -d .tox/py27 ]; then tox -epy27 --notest; fi",
|
||||
"lint": "eslint --no-color magnum_ui/static",
|
||||
"lintq": "eslint --quiet magnum_ui/static",
|
||||
"test": "karma start magnum_ui/karma.conf.js --single-run"
|
||||
}
|
||||
}
|
||||
|
4
tox.ini
4
tox.ini
@ -26,8 +26,8 @@ commands = {posargs}
|
||||
commands =
|
||||
coverage erase
|
||||
coverage run {toxinidir}/manage.py test magnum_ui --settings=magnum_ui.test.settings {posargs} --exclude-dir=magnum_ui/test/integration_tests {posargs}
|
||||
coverage xml --omit '.tox/cover/*'
|
||||
coverage html --omit '.tox/cover/*'
|
||||
coverage xml --omit '.tox/cover/*' -o 'cover/coverage.xml'
|
||||
coverage html --omit '.tox/cover/*' -d 'cover/htmlcov'
|
||||
|
||||
[testenv:py27dj18]
|
||||
basepython = python2.7
|
||||
|
Loading…
x
Reference in New Issue
Block a user