Skip to content

Commit 153e62e

Browse files
committed
#16. Added py coverage uoload.
1 parent 20c8c20 commit 153e62e

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

.circleci/config.yml

+6
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,12 @@ jobs:
135135
paths:
136136
- codeclimate.python.json
137137

138+
# run test coverage to coveralls
139+
- run:
140+
name: Upload to coveralls
141+
command: |
142+
python3 -m coveralls
143+
138144
# upload test coverage to codacy
139145
# - run:
140146
# command: |

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
| N/A | Codacy | Code analysis/quality check | [![Codacy Badge](https://api.codacy.com/project/badge/Grade/93f9326796aa44a3a9eac1fe9c13cc24)](https://www.codacy.com/app/manastalukdar/learning_computer-science?utm_source=github.com&utm_medium=referral&utm_content=manastalukdar/learning_computer-science&utm_campaign=Badge_Grade) |
1313
| N/A | CodeBeat | Static code analysis | [![codebeat badge](https://codebeat.co/badges/20e3b84d-3b8b-447a-bdfe-44daded446fc)](https://codebeat.co/projects/github-com-manastalukdar-learning_computer-science-master) |
1414
| N/A | Codecov | Code coverage using Circle CI | [![codecov](https://codecov.io/gh/manastalukdar/learning_computer-science/branch/master/graph/badge.svg)](https://codecov.io/gh/manastalukdar/learning_computer-science) |
15+
| N/A | Coveralls | Code coverage using Circle CI | [![Coverage Status](https://coveralls.io/repos/github/manastalukdar/learning_computer-science/badge.svg?branch=master)](https://coveralls.io/github/manastalukdar/learning_computer-science?branch=master) |
1516

1617
## Project Management
1718

build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ afterEvaluate {
142142
check.dependsOn jacocoJupTestReport
143143
}
144144

145+
//https://github.com/ben-manes/caffeine/blob/master/build.gradle
145146
coveralls {
146147
jacocoReportPath = "${buildDir}/reports/jacoco/report.xml"
147148
}

requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ markdown
22
BeautifulSoup4
33
coverage
44
codacy-coverage
5-
codecov
5+
codecov
6+
coveralls

0 commit comments

Comments
 (0)