aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorF. Eugene Aumson <feuGeneA@users.noreply.github.com>2018-12-12 08:57:53 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-13 01:20:29 +0800
commitddc1f34c3090a276d593c78747ae4c94a74cab63 (patch)
tree0953c1295fefa7bb5470c4daf8e52bf19e397b89 /.circleci
parentcdca07d829a881050dd8041f334dff5f259e1cd4 (diff)
downloaddexon-sol-tools-ddc1f34c3090a276d593c78747ae4c94a74cab63.tar
dexon-sol-tools-ddc1f34c3090a276d593c78747ae4c94a74cab63.tar.gz
dexon-sol-tools-ddc1f34c3090a276d593c78747ae4c94a74cab63.tar.bz2
dexon-sol-tools-ddc1f34c3090a276d593c78747ae4c94a74cab63.tar.lz
dexon-sol-tools-ddc1f34c3090a276d593c78747ae4c94a74cab63.tar.xz
dexon-sol-tools-ddc1f34c3090a276d593c78747ae4c94a74cab63.tar.zst
dexon-sol-tools-ddc1f34c3090a276d593c78747ae4c94a74cab63.zip
feat(sra_client.py)
* Code generation scripts * Generated code * Change test config to hit 0x-launch-kit * Ran prettier on generated code * First test case, of get_asset_pairs() * Use launch kit docker image to faciliate CI tests * Fix markdown rendering for GitHub and PyPI * Add URL for PyPI to link back to GitHub * Add one-line package description to README.md * Remove git_push.sh * Remove unimplemented tests * Add sra_client to top-level README package list * Remove repeated-everywhere long description * Add shorcuts for publishing * Remove TypeScript examples
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 6e018c62d..61e0bc5d3 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -190,6 +190,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 +204,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 +222,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: