ci: run javascript unit tests on Jenkins (#75133)
gitea/gadjo/pipeline/head This commit looks good Details

This commit is contained in:
Corentin Sechet 2023-03-04 18:40:54 +01:00
parent f611c731bd
commit 3c59b53ab1
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