Skip to content

Commit

Permalink
fix: adapt pytest.ini, coveragerc and gitignore configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
duboise-cnes committed Jan 27, 2021
1 parent 5ee2c1c commit 37547f7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[run]
source = cars
omit =
# Omit tests
/tests/*
# Omit venv
/venv*/
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ build/
__pycache__/
.cache/
dask-worker-space/
.coverage*
.coverage
.coverage.*
coverage.xml
pytest-report.xml
pylint-report.xml
Expand Down
4 changes: 3 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# content of pytest.ini
[pytest]
addopts = -ra
addopts = -ra
markers =
unit_tests: Unit tests
pbs_cluster_tests: PBS cluster unit tests
notebook_tests: Notebook unit tests
testpaths = tests
norecursedirs = .git _build build tmp* venv*

0 comments on commit 37547f7

Please sign in to comment.