Skip to content

Commit

Permalink
coverage: run in parallel & combine afterwards
Browse files Browse the repository at this point in the history
This merges the results reported for 'python/afdko' and '*/site-packages/afdko'
  • Loading branch information
miguelsousa committed Jul 25, 2018
1 parent ec5fba6 commit abd9282
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# measure 'branch' coverage in addition to 'statement' coverage
# See: http://coverage.readthedocs.io/en/coverage-4.5.1/branch.html
branch = True
parallel = True

# list of directories or packages to measure
source =
Expand Down
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ dist/
.idea/

# coverage data
# DO NOT use '.coverage*' because that matches '.coveragerc'
.coverage
.coverage.*
htmlcov
.pytest_cache

Expand All @@ -27,9 +29,6 @@ spot
tx
type1

# ignore the Windows compiled programs
*.exe

# ignore the temp build directories and files
*.o
*.a
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ matrix:
- python -m pip install --user -U --force-reinstall dist/*.whl
- python -m pip install --user -r requirements-dev.txt
- pytest --cov
- coverage combine
- python -m pip uninstall --yes afdko
after_success:
- codecov
Expand Down

0 comments on commit abd9282

Please sign in to comment.