Skip to content

Commit

Permalink
Changeg source file aliasing
Browse files Browse the repository at this point in the history
  • Loading branch information
betatim committed Jan 23, 2021
1 parent b96412b commit d56deb0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ omit = */_version.py
# This tells coverage how to combine results together or said differently
# which files at different paths are actually the same file
# documented at https://coverage.readthedocs.io/en/latest/config.html#paths
# Yes, we list repo2docker twice here. This allows you to install repo2docker
# with `pip install -e.` for local development and from the wheel (as done on
# CI) and get `repo2docker/foo.py` as paths in the coverage report
source =
repo2docker/
/opt/hostedtoolcache/Python/*/site-packages/repo2docker
repo2docker
repo2docker
../repo2docker
*/site-packages/repo2docker
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@ jobs:
- name: "Run tests"
run: |
pytest --durations 10 --cov repo2docker -v tests/${{ matrix.repo_type }}
cd tests
pytest --durations 10 --cov repo2docker -v ${{ matrix.repo_type }}
# Action Repo: https://github.com/codecov/codecov-action
- uses: codecov/codecov-action@v1
with:
directory: ./tests

0 comments on commit d56deb0

Please sign in to comment.