Code coverage for Solidity smart-contracts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
version: 2.0
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
docker:
|
|
|
|
- image: circleci/node:8.15.0
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: Delete any old node_modules
|
|
|
|
command: |
|
|
|
|
rm -rf node_modules/
|
|
|
|
- run:
|
|
|
|
name: Install dependencies
|
|
|
|
command: |
|
|
|
|
npm install
|
|
|
|
- run:
|
|
|
|
name: Get submodules
|
|
|
|
command: |
|
|
|
|
git submodule update --init
|
|
|
|
- run:
|
|
|
|
name: Run tests
|
|
|
|
command: |
|
|
|
|
npm run test-cov
|
|
|
|
- run:
|
|
|
|
name: Upload coverage
|
|
|
|
command: |
|
|
|
|
bash <(curl -s https://codecov.io/bash)
|