Skip to content

Commit 397c579

Browse files
committed
Enable coveralls
1 parent bf1954c commit 397c579

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

azure-pipelines.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
displayName: 'Install mbed-os test dependencies'
6666
-
6767
script: |
68-
pip install --user flake8
68+
pip install flake8
6969
python -m flake8
7070
condition: eq(variables['extraActions'], 'true')
7171
displayName: 'Enforce code style'
@@ -99,6 +99,12 @@ jobs:
9999
script: "python -m coverage run setup.py test"
100100
displayName: "Test mbed-greentea"
101101
workingDirectory: 'legacy/mbed-greentea'
102+
-
103+
script: |
104+
python -m coverage combine .coverage legacy/*/.coverage
105+
python -m coveralls
106+
condition: eq(variables['extraActions'], 'true')
107+
displayName: 'Send coverage to coveralls'
102108
-
103109
job: Build
104110
dependsOn: Test

0 commit comments

Comments
 (0)