diff options
Diffstat (limited to '.circleci/config.yml')
-rw-r--r-- | .circleci/config.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 6e018c62d..68d8041a2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,6 +18,7 @@ jobs: name: yarn command: yarn --frozen-lockfile install || yarn --frozen-lockfile install - run: yarn build:ci:no_website + - run: yarn build:ts - save_cache: key: repo-{{ .Environment.CIRCLE_SHA1 }} paths: @@ -190,6 +191,9 @@ jobs: - image: 0xorg/ganache-cli command: | ganache-cli --gasLimit 10000000 --noVMErrorsOnRPCResponse --db /snapshot --noVMErrorsOnRPCResponse -p 8545 --networkId 50 -m "concert load couple harbor equip island argue ramp clarify fence smart topic" + - image: 0xorg/launch-kit-ci + command: | + yarn start:ts -p 3000:3000 steps: - checkout - run: sudo chown -R circleci:circleci /usr/local/bin @@ -201,6 +205,11 @@ jobs: cd python-packages/order_utils python -m ensurepip python -m pip install -e .[dev] + - run: + command: | + cd python-packages/sra_client + python -m ensurepip + python -m pip install -e . - save_cache: key: deps9-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }} paths: @@ -214,10 +223,18 @@ jobs: command: | cd python-packages/order_utils coverage run setup.py test + - run: + command: | + cd python-packages/sra_client + coverage run setup.py test - save_cache: key: coverage-python-order-utils-{{ .Environment.CIRCLE_SHA1 }} paths: - ~/repo/python-packages/order_utils/.coverage + - save_cache: + key: coverage-python-sra-client-{{ .Environment.CIRCLE_SHA1 }} + paths: + - ~/repo/python-packages/sra_client/.coverage test-rest-python: working_directory: ~/repo docker: |