From b6c8126589a94c2986c591ad7741cd3787a96e58 Mon Sep 17 00:00:00 2001 From: "F. Eugene Aumson" Date: Wed, 12 Dec 2018 17:47:25 -0800 Subject: Move zero_ex.json_schemas to its own package --- .circleci/config.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to '.circleci/config.yml') diff --git a/.circleci/config.yml b/.circleci/config.yml index 68d8041a2..d9debc408 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -200,6 +200,11 @@ jobs: - run: sudo chown -R circleci:circleci /usr/local/lib/python3.7/site-packages - restore_cache: key: deps9-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }} + - run: + command: | + cd python-packages/json_schemas + python -m ensurepip + python -m pip install . - run: command: | cd python-packages/order_utils @@ -219,6 +224,10 @@ jobs: - '.mypy_cache' - '.pytest_cache' - '.tox' + - run: + command: | + cd python-packages/json_schemas + coverage run setup.py test - run: command: | cd python-packages/order_utils @@ -227,6 +236,10 @@ jobs: command: | cd python-packages/sra_client coverage run setup.py test + - save_cache: + key: coverage-python-json-schemas-{{ .Environment.CIRCLE_SHA1 }} + paths: + - ~/repo/python-packages/json_schemas/.coverage - save_cache: key: coverage-python-order-utils-{{ .Environment.CIRCLE_SHA1 }} paths: @@ -273,6 +286,11 @@ jobs: - run: sudo chown -R circleci:circleci /usr/local/lib/python3.7/site-packages - restore_cache: key: deps9-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }} + - run: + command: | + cd python-packages/json_schemas + python -m ensurepip + python -m pip install . - run: command: | cd python-packages/order_utils @@ -283,6 +301,10 @@ jobs: paths: - '/usr/local/bin' - '/usr/local/lib/python3.7/site-packages' + - run: + command: | + cd python-packages/json_schemas + python setup.py lint - run: command: | cd python-packages/order_utils @@ -355,6 +377,9 @@ jobs: - restore_cache: keys: - coverage-contracts-{{ .Environment.CIRCLE_SHA1 }} + - restore_cache: + keys: + - coverage-python-json-schemas-{{ .Environment.CIRCLE_SHA1 }} - restore_cache: keys: - coverage-python-order-utils-{{ .Environment.CIRCLE_SHA1 }} -- cgit v1.2.3