mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add jslint check to PR CI tests
For now, from all possible lint checks, pylint applies only. jslint can prevent JavaScript errors at WebUI. Fixes: https://pagure.io/freeipa/issue/7717 Fixes: https://pagure.io/freeipa/issue/7718 Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
parent
5476547416
commit
54a0e9e96d
@ -55,7 +55,7 @@ steps:
|
|||||||
- sed -ri "s/mode = production/mode = development/" /etc/ipa/default.conf
|
- sed -ri "s/mode = production/mode = development/" /etc/ipa/default.conf
|
||||||
- systemctl restart httpd.service
|
- systemctl restart httpd.service
|
||||||
lint:
|
lint:
|
||||||
- make V=0 pylint
|
- make V=0 lint
|
||||||
webui_unit:
|
webui_unit:
|
||||||
- dnf install -y npm
|
- dnf install -y npm
|
||||||
- cd ${container_working_dir}/install/ui/js/libs && make
|
- cd ${container_working_dir}/install/ui/js/libs && make
|
||||||
|
@ -185,7 +185,7 @@ endif
|
|||||||
@ # just tests, aci, api and pylint on Python 3
|
@ # just tests, aci, api and pylint on Python 3
|
||||||
PYTHONPATH=$(abspath $(top_srcdir)) $(PYTHON) ipatests/ipa-run-tests \
|
PYTHONPATH=$(abspath $(top_srcdir)) $(PYTHON) ipatests/ipa-run-tests \
|
||||||
--ipaclient-unittests
|
--ipaclient-unittests
|
||||||
$(MAKE) $(AM_MAKEFLAGS) acilint apilint polint pylint
|
$(MAKE) $(AM_MAKEFLAGS) acilint apilint polint pylint jslint check
|
||||||
@echo "All tests passed."
|
@echo "All tests passed."
|
||||||
|
|
||||||
.PHONY: fastcheck fasttest fastlint
|
.PHONY: fastcheck fasttest fastlint
|
||||||
|
Loading…
Reference in New Issue
Block a user