ci: run javascript unit tests on Jenkins (#75133) #7
6
tox.ini
6
tox.ini
|
@ -1,12 +1,14 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = codestyle-pylint
|
envlist = codestyle-pylint, test
|
||||||
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/gadjo/{env:BRANCH_NAME:}
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/gadjo/{env:BRANCH_NAME:}
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
whitelist_externals = npm
|
||||||
deps =
|
deps =
|
||||||
codestyle: pre-commit
|
codestyle: pre-commit
|
||||||
pylint: pylint
|
pylint: pylint
|
||||||
pylint: pylint-django
|
pylint: pylint-django
|
||||||
commands =
|
commands =
|
||||||
codestyle: pre-commit run --all-files --show-diff-on-failure
|
codestyle: pre-commit run --all-files --show-diff-on-failure
|
||||||
pylint: ./pylint.sh gadjo/
|
test: npm clean-install
|
||||||
|
test: npm test
|
||||||
|
|
Loading…
Reference in New Issue