Skip to content

Commit 6e83960

Browse files
committed
attempt to add coverage to circleci
1 parent 676dc1c commit 6e83960

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

circle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
test:
22
override:
33
- mbed --version
4-
- py.test test
4+
- py.test test --cov=./mbed --cov-branch --cov-report html:${CIRCLE_ARTIFACTS}/coverage_output --cov-report term --durations=20 --color=yes
55
- mbed toolchain -G GCC_ARM
66
- mbed target -G K64F
77
- mbed config -G protocol ssh
@@ -76,7 +76,7 @@ test:
7676
7777
dependencies:
7878
pre:
79-
- sudo pip install pytest
79+
- sudo pip install pytest pytest-cov
8080
- git config --global user.email "test@mbed.org"
8181
- git config --global user.name "mbed Test"
8282
- echo -e "[ui]\nusername = mbed Test <test@mbed.org>\n" > ~/.hgrc

0 commit comments

Comments
 (0)