Skip to content

Commit 0fc25d9

Browse files
authored
Report test coverage to Coveralls (#82)
1 parent 3bbc9fc commit 0fc25d9

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
command: |
2929
make typecheck
3030
- run:
31-
name: Run Tests
31+
name: Run Tests with Coverage
3232
command: |
33-
make test
33+
make test-with-coverage

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ coverage:
2222
@pipenv run python -m pytest --cov=basilisp --cov-report html
2323

2424

25+
.PHONY: test-with-coverage
26+
test-with-coverage: coverage
27+
@pipenv run coveralls
28+
29+
2530
.PHONY: test
2631
test:
2732
@pipenv install --dev

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ verify_ssl = true
44
name = "pypi"
55

66
[dev-packages]
7+
coveralls = "*"
78
pyflakes = "*"
89
pytest = "*"
910
yapf = "*"

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
A Lisp dialect inspired by Clojure targeting Python.
44

5+
![CircleCI](https://img.shields.io/circleci/project/github/chrisrink10/basilisp.svg?style=flat-square) ![Coveralls github](https://img.shields.io/coveralls/github/chrisrink10/basilisp.svg?style=flat-square)
6+
57
## Requirements
68

79
This project uses [`pipenv`](https://github.com/kennethreitz/pipenv) to

0 commit comments

Comments
 (0)