kopia lustrzana https://github.com/jupyterhub/repo2docker
Changeg source file aliasing
rodzic
b96412bd33
commit
d56deb02dd
|
@ -6,6 +6,11 @@ omit = */_version.py
|
||||||
# This tells coverage how to combine results together or said differently
|
# This tells coverage how to combine results together or said differently
|
||||||
# which files at different paths are actually the same file
|
# which files at different paths are actually the same file
|
||||||
# documented at https://coverage.readthedocs.io/en/latest/config.html#paths
|
# 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 =
|
source =
|
||||||
repo2docker/
|
repo2docker
|
||||||
/opt/hostedtoolcache/Python/*/site-packages/repo2docker
|
repo2docker
|
||||||
|
../repo2docker
|
||||||
|
*/site-packages/repo2docker
|
||||||
|
|
|
@ -114,7 +114,10 @@ jobs:
|
||||||
|
|
||||||
- name: "Run tests"
|
- name: "Run tests"
|
||||||
run: |
|
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
|
# Action Repo: https://github.com/codecov/codecov-action
|
||||||
- uses: codecov/codecov-action@v1
|
- uses: codecov/codecov-action@v1
|
||||||
|
with:
|
||||||
|
directory: ./tests
|
||||||
|
|
Ładowanie…
Reference in New Issue