Changeg source file aliasing

pull/982/head
Tim Head 2020-11-06 07:44:53 +01:00
rodzic b96412bd33
commit d56deb02dd
2 zmienionych plików z 11 dodań i 3 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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