diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-08-18 00:29:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-18 00:29:49 +0200 |
commit | 7eb7529be9c43e9a1ff69bf1dd974ed3b123241e (patch) | |
tree | 88acc9f77ae1fc1cdb4c9cce1635878d9e45623c /.circleci/config.yml | |
parent | 5c849ad08765322010064f482fd2dea11482c114 (diff) | |
download | bugzilla-7eb7529be9c43e9a1ff69bf1dd974ed3b123241e.tar.gz bugzilla-7eb7529be9c43e9a1ff69bf1dd974ed3b123241e.tar.xz |
Bug 1388148 - Test password quality checking code
Diffstat (limited to '.circleci/config.yml')
-rw-r--r-- | .circleci/config.yml | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 619f1cb11..cd2ec0e10 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -120,13 +120,48 @@ jobs: - store_artifacts: path: /app/artifacts + test_bmo: + parallelism: 4 + working_directory: /app + docker: + - <<: *bmo_slim_image + environment: + <<: *bmo_env + BZ_QA_ANSWERS_FILE: /app/.circleci/checksetup_answers.txt + TWD_HOST: localhost + TWD_PORT: 4444 + TWD_BROWSER: firefox + - <<: *mysql_image + environment: *mysql_env + - image: memcached:latest + - image: selenium/standalone-firefox:2.53.1 + steps: + - checkout + - run: | + mv /opt/bmo/local /app/local + perl checksetup.pl --no-database --default-localconfig + perl -MSys::Hostname -i -pE 's/<<HOSTNAME>>/hostname()/ges' $BZ_QA_ANSWERS_FILE + rm -f /app/localconfig + /app/scripts/entrypoint.pl load_test_data + mkdir artifacts + - run: | + BZ_BASE_URL="http://$(hostname):$PORT" + export BZ_BASE_URL + rm -f /app/localconfig + /app/scripts/entrypoint.pl test_bmo -q -f t/bmo/*.t + + + workflows: version: 2 tests: jobs: + - test_bmo - test_sanity - test_webservices - - test_selenium + - test_selenium: + requires: + - test_bmo - build: requires: - test_sanity |