diff --git a/.circleci/config.yml b/.circleci/config.yml index 918b1fd..8b47e6c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -56,8 +56,9 @@ commands: BOOTSTRAP_PIP_SPEC=git+https://github.com/$CIRCLE_PROJECT_USERNAME/the-littlest-jupyterhub.git@$CIRCLE_SHA1 fi - .circleci/integration-test.py run-test basic-tests \ - "$BOOTSTRAP_PIP_SPEC" test_hub.py test_install.py test_extensions.py \ + .circleci/integration-test.py run-test \ + --bootstrap_pip_spec "$BOOTSTRAP_PIP_SPEC" \ + basic-tests test_hub.py test_install.py test_extensions.py \ << parameters.upgrade >> admin_tests: parameters: @@ -76,7 +77,8 @@ commands: .circleci/integration-test.py run-test \ --installer-args "--admin admin:admin" \ - basic-tests $BOOTSTRAP_PIP_SPEC test_admin_installer.py \ + -- bootstrap_pip_spec $BOOTSTRAP_PIP_SPEC \ + basic-tests test_admin_installer.py \ << parameters.upgrade >> plugin_tests: @@ -95,8 +97,9 @@ commands: fi .circleci/integration-test.py run-test \ + --bootstrap_pip_spec $BOOTSTRAP_PIP_SPEC \ --installer-args "--plugin /srv/src/integration-tests/plugins/simplest" \ - plugins $BOOTSTRAP_PIP_SPEC test_simplest_plugin.py \ + plugins test_simplest_plugin.py \ << parameters.upgrade >> bootstrap_checks: diff --git a/.circleci/integration-test.py b/.circleci/integration-test.py index 00f15e8..7afbe88 100755 --- a/.circleci/integration-test.py +++ b/.circleci/integration-test.py @@ -158,8 +158,8 @@ def main(): run_test_parser = subparsers.add_parser('run-test') run_test_parser.add_argument('--installer-args', default='') run_test_parser.add_argument('--upgrade', action='store_true') + run_test_parser.add_argument('--bootstrap_pip_spec', nargs='?', default="", type=str) run_test_parser.add_argument('test_name') - run_test_parser.add_argument('bootstrap_pip_spec') run_test_parser.add_argument('test_files', nargs='+') show_logs_parser = subparsers.add_parser('show-logs')