|
@@ -52,11 +52,11 @@ jobs:
|
|
|
env:
|
|
|
PYTHON_VERSION: ${{ matrix.python-version }}
|
|
|
- run: pipenv graph
|
|
|
- - run: pipenv run pytest --cov=freesurfer_surface --cov-report=term-missing --cov-fail-under=100
|
|
|
- - run: pipenv run pylint --load-plugins=pylint_import_requirements freesurfer_surface
|
|
|
+ - run: pipenv run pytest --cov="$(cat *.egg-info/top_level.txt)" --cov-report=term-missing --cov-fail-under=100
|
|
|
+ - run: pipenv run pylint --load-plugins=pylint_import_requirements "$(cat *.egg-info/top_level.txt)"
|
|
|
# https://github.com/PyCQA/pylint/issues/352
|
|
|
- run: pipenv run pylint tests/*
|
|
|
- - run: pipenv run mypy freesurfer_surface tests
|
|
|
+ - run: pipenv run mypy "$(cat *.egg-info/top_level.txt)" tests
|
|
|
# >=1.9.0 to detect branch name
|
|
|
# https://github.com/coveralls-clients/coveralls-python/pull/207
|
|
|
# https://github.com/coverallsapp/github-action/issues/4#issuecomment-547036866
|