mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Edit TravisCI conf files to run WebUI unit tests
Related: https://pagure.io/freeipa/issue/7278 Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
committed by
Christian Heimes
parent
905a0abfd6
commit
e89163d491
@@ -55,6 +55,11 @@ steps:
|
||||
lint:
|
||||
- make PYTHON=/usr/bin/python2 V=0 lint
|
||||
- make PYTHON=/usr/bin/python3 V=0 pylint
|
||||
webui_unit:
|
||||
- dnf install -y npm
|
||||
- cd ${container_working_dir}/install/ui/js/libs && make
|
||||
- cd ${container_working_dir}/install/ui && npm install
|
||||
- cd ${container_working_dir}/install/ui && node_modules/grunt/bin/grunt --verbose qunit
|
||||
tox:
|
||||
# just run one pylint and one Python 3 target (time/coverage trade-off)
|
||||
- tox -e py27,py36,pypi,pylint3
|
||||
|
@@ -22,6 +22,8 @@ env:
|
||||
matrix:
|
||||
- TASK_TO_RUN="lint"
|
||||
TEST_RUNNER_CONFIG=".test_runner_config.yaml"
|
||||
- TASK_TO_RUN="webui-unit"
|
||||
TEST_RUNNER_CONFIG=".test_runner_config.yaml"
|
||||
- TASK_TO_RUN="run-tests"
|
||||
PYTHON=/usr/bin/python2
|
||||
TEST_RUNNER_CONFIG=".test_runner_config.yaml"
|
||||
@@ -66,7 +68,7 @@ install:
|
||||
- pip3 install pycodestyle
|
||||
- >
|
||||
pip3 install
|
||||
git+https://github.com/freeipa/ipa-docker-test-runner@release-0-2-2
|
||||
git+https://github.com/freeipa/ipa-docker-test-runner@release-0-3-1
|
||||
|
||||
script:
|
||||
- mkdir -p $CI_RUNNER_LOGS_DIR
|
||||
|
Reference in New Issue
Block a user