Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Remove 'src' from pytest test testpaths to allow for non-editable install in CI #1467

Merged
merged 18 commits into from
Oct 19, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Split addopts across lines
  • Loading branch information
matthewfeickert committed Oct 19, 2021
commit 21f1b113956178fac69cf71d987a1c8cf14c3a07
13 changes: 12 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,18 @@ ignore = [

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--ignore=setup.py --ignore=validation/ --ignore=binder/ --ignore=docs/ --cov=pyhf --cov-report=term-missing --cov-config=.coveragerc --cov-report xml --doctest-modules --doctest-glob='*.rst'"
addopts = [
"--ignore=setup.py",
"--ignore=validation/",
"--ignore=binder/",
"--ignore=docs/",
"--cov=pyhf",
"--cov-report=term-missing",
"--cov-config=.coveragerc",
"--cov-report=xml",
"--doctest-modules",
"--doctest-glob='*.rst'"
]
testpaths = [
"tests"
matthewfeickert marked this conversation as resolved.
Show resolved Hide resolved
]
Expand Down