Skip to content

Commit 76ebc3d

Browse files
authored
Merge pull request #37 from broadinstitute/ew-code-coverage
Report code coverage metrics (SCP-1809)
2 parents 7d3015b + 1d8c819 commit 76ebc3d

File tree

5 files changed

+272
-269
lines changed

5 files changed

+272
-269
lines changed

.circleci/config.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
#
55
version: 2.1
66

7+
orbs:
8+
codecov: codecov/[email protected]
9+
710
jobs:
811
build:
912
docker:
@@ -61,9 +64,7 @@ jobs:
6164
export FIRESTORE_EMULATOR_HOST=localhost:8081
6265
. venv/bin/activate
6366
cd tests
64-
coverage run -m pytest
65-
coverage report --include *scp-ingest-pipeline/ingest*
66-
coverage html --include *scp-ingest-pipeline/ingest*
67+
pytest --cov-report=xml --cov=../ingest/
6768
68-
- store_artifacts:
69-
path: tests/htmlcov
69+
- codecov/upload:
70+
file: tests/coverage.xml

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
File Ingest Pipeline for Single Cell Portal
33

44
[![Build status](https://img.shields.io/circleci/build/github/broadinstitute/scp-ingest-pipeline.svg)](https://circleci.com/gh/broadinstitute/scp-ingest-pipeline)
5+
[![Code coverage](https://codecov.io/gh/broadinstitute/scp-ingest-pipeline/branch/master/graph/badge.svg)](https://codecov.io/gh/broadinstitute/scp-ingest-pipeline)
56

67
The SCP Ingest Pipeline is an ETL pipeline for single-cell RNA-seq data.
78

0 commit comments

Comments
 (0)