aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorF. Eugene Aumson <feuGeneA@users.noreply.github.com>2018-12-12 08:57:53 +0800
committerGitHub <noreply@github.com>2018-12-12 08:57:53 +0800
commit318e7d5b575419aecacdea97d822606c75e6853b (patch)
tree28ee57e62e445e43d44885db115b993b4d798ed1 /.circleci
parenta939433bd25e26f3ba285f543999ee3a63e018a5 (diff)
downloaddexon-sol-tools-318e7d5b575419aecacdea97d822606c75e6853b.tar
dexon-sol-tools-318e7d5b575419aecacdea97d822606c75e6853b.tar.gz
dexon-sol-tools-318e7d5b575419aecacdea97d822606c75e6853b.tar.bz2
dexon-sol-tools-318e7d5b575419aecacdea97d822606c75e6853b.tar.lz
dexon-sol-tools-318e7d5b575419aecacdea97d822606c75e6853b.tar.xz
dexon-sol-tools-318e7d5b575419aecacdea97d822606c75e6853b.tar.zst
dexon-sol-tools-318e7d5b575419aecacdea97d822606c75e6853b.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: