ci: run javascript unit tests on Jenkins (#75133) #7

Closed
csechet wants to merge 1 commits from wip/75133-faire-tourner-les-tests-javascript into wip/75131-integrer-un-framework-de-tests
1 changed files with 4 additions and 2 deletions

View File

@ -1,12 +1,14 @@
[tox]
envlist = codestyle-pylint
envlist = codestyle-pylint, test
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/gadjo/{env:BRANCH_NAME:}
[testenv]
whitelist_externals = npm
deps =
codestyle: pre-commit
pylint: pylint
pylint: pylint-django
commands =
codestyle: pre-commit run --all-files --show-diff-on-failure
pylint: ./pylint.sh gadjo/
test: npm clean-install
test: npm test