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] [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