diff --git a/.circleci/config.yml b/.circleci/config.yml index f29b22ce..5e528b95 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -49,9 +49,23 @@ jobs: - run: yarn - setup_remote_docker - run: yarn run ui-e2e - + cover: + docker: + - image: circleci/node:10.15 + steps: + - checkout + - run: git submodule update --init + - run: yarn + - run: yarn workspace ui run coverage + - run: yarn workspace ui run coveralls workflows: version: 2 + coverage: + jobs: + - cover: + filters: + branches: + only: master tokenbridge: jobs: - lint diff --git a/.coveralls.yml b/.coveralls.yml new file mode 100644 index 00000000..e50cd9cb --- /dev/null +++ b/.coveralls.yml @@ -0,0 +1 @@ +service_name: circleci diff --git a/ui/README.md b/ui/README.md index a5dd95b1..bd7eab5b 100644 --- a/ui/README.md +++ b/ui/README.md @@ -1,3 +1,5 @@ +[![Coverage Status](https://coveralls.io/repos/github/poanetwork/tokenbridge/badge.svg?branch=master)](https://coveralls.io/github/poanetwork/tokenbridge?branch=master) + # POA Token Bridge / UI DApp interface to transfer tokens and coins between chains.