Move test requirements into tests/

This makes the file easier to locate, by placing it next to the stuff
that it will affect.
This commit is contained in:
Pradyun Gedam 2021-07-24 12:02:14 +01:00
parent 25af8e5f36
commit 236c0ccb8a
No known key found for this signature in database
GPG Key ID: FF99710C4332258E
4 changed files with 2 additions and 3 deletions

View File

@ -30,7 +30,6 @@ jobs:
tests:
# Anything that's touching testable stuff
- ".github/workflows/ci.yml"
- "tools/requirements/tests.txt"
- "src/**"
- "tests/**"
if: github.event_name == 'pull_request'

View File

@ -23,10 +23,10 @@ setenv =
# This is required in order to get UTF-8 output inside of the subprocesses
# that our tests use.
LC_CTYPE = en_US.UTF-8
deps = -r{toxinidir}/tools/requirements/tests.txt
deps = -r{toxinidir}/tests/requirements.txt
commands_pre =
python -c 'import shutil, sys; shutil.rmtree(sys.argv[1], ignore_errors=True)' {toxinidir}/tests/data/common_wheels
{[helpers]pip} wheel -w {toxinidir}/tests/data/common_wheels -r {toxinidir}/tools/requirements/tests-common_wheels.txt
{[helpers]pip} wheel -w {toxinidir}/tests/data/common_wheels -r {toxinidir}/tests/requirements-common_wheels.txt
commands = pytest []
install_command = {[helpers]pip} install {opts} {packages}
list_dependencies_command = {[helpers]pip} freeze --all