File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ omit = */_version.py
66# This tells coverage how to combine results together or said differently
77# which files at different paths are actually the same file
88# documented at https://coverage.readthedocs.io/en/latest/config.html#paths
9+ # Yes, we list repo2docker twice here. This allows you to install repo2docker
10+ # with `pip install -e.` for local development and from the wheel (as done on
11+ # CI) and get `repo2docker/foo.py` as paths in the coverage report
912source =
10- repo2docker/
11- /opt/hostedtoolcache/Python/*/site-packages/repo2docker
13+ repo2docker
14+ repo2docker
15+ ../repo2docker
16+ */site-packages/repo2docker
Original file line number Diff line number Diff line change @@ -114,7 +114,10 @@ jobs:
114114
115115 - name : " Run tests"
116116 run : |
117- pytest --durations 10 --cov repo2docker -v tests/${{ matrix.repo_type }}
117+ cd tests
118+ pytest --durations 10 --cov repo2docker -v ${{ matrix.repo_type }}
118119
119120 # Action Repo: https://github.com/codecov/codecov-action
120121 - uses : codecov/codecov-action@v1
122+ with :
123+ directory : ./tests
You can’t perform that action at this time.
0 commit comments