Unverified Commit 2f638e5a authored by msbaines's avatar msbaines Committed by GitHub
Browse files

[chore] enable codecov (#35)

parent bc822902
......@@ -69,6 +69,15 @@ install_repo_gpu: &install_repo_gpu
export CUDA_HOME=/usr/local/cuda-10.1
python setup.py build develop
run_coverage: &run_coverage
- run:
name: Run Unit Tests With Coverage
command: |
pytest --cov-report=xml --cov=./
#Uploading test coverage for Python code
bash <(curl -s https://codecov.io/bash) -f coverage.xml -cF Python
run_unittests: &run_unittests
- run:
name: Run Unit Tests
......@@ -200,6 +209,8 @@ jobs:
- <<: *run_unittests
- <<: *run_coverage
- store_test_results:
path: test-results
......
[run]
omit =
tests/*
setup.py
......@@ -9,5 +9,3 @@
build/
dist/
.coverage*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment