aboutsummaryrefslogtreecommitdiff
path: root/.circleci/config.yml
diff options
context:
space:
mode:
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml23
1 files changed, 21 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 9637cdf..8947236 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -10,11 +10,30 @@ jobs:
- run: rustup install nightly
- run: rustup default nightly
- run:
- name: Run Tests
- command: cargo test --workspace --all-features
+ name: Run Tests
+ command: cargo test --workspace --all-features
+ coverage:
+ machine: true
+ steps:
+ - checkout
+ - run:
+ name: Coverage with docker
+ command: |
+ docker run \
+ --security-opt seccomp=unconfined \
+ -v "${PWD}:/volume" \
+ xd009642/tarpaulin:0.22.0-nightly \
+ cargo \
+ +nightly \
+ tarpaulin \
+ --workspace \
+ --all-features \
+ --ciserver circle-ci \
+ --coveralls $COVERALLS_REPO_TOKEN
workflows:
test:
jobs:
- test-all
+ - coverage