Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
fairscale
Commits
2f638e5a
Unverified
Commit
2f638e5a
authored
Aug 13, 2020
by
msbaines
Committed by
GitHub
Aug 13, 2020
Browse files
[chore] enable codecov (#35)
parent
bc822902
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
.circleci/config.yml
.circleci/config.yml
+11
-0
.coveragerc
.coveragerc
+4
-0
.gitignore
.gitignore
+0
-2
No files found.
.circleci/config.yml
View file @
2f638e5a
...
@@ -69,6 +69,15 @@ install_repo_gpu: &install_repo_gpu
...
@@ -69,6 +69,15 @@ install_repo_gpu: &install_repo_gpu
export CUDA_HOME=/usr/local/cuda-10.1
export CUDA_HOME=/usr/local/cuda-10.1
python setup.py build develop
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_unittests
:
&run_unittests
-
run
:
-
run
:
name
:
Run Unit Tests
name
:
Run Unit Tests
...
@@ -200,6 +209,8 @@ jobs:
...
@@ -200,6 +209,8 @@ jobs:
-
<<
:
*run_unittests
-
<<
:
*run_unittests
-
<<
:
*run_coverage
-
store_test_results
:
-
store_test_results
:
path
:
test-results
path
:
test-results
...
...
.coveragerc
0 → 100644
View file @
2f638e5a
[run]
omit =
tests/*
setup.py
.gitignore
View file @
2f638e5a
...
@@ -9,5 +9,3 @@
...
@@ -9,5 +9,3 @@
build/
build/
dist/
dist/
.coverage*
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment