Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
47e4927
core: install local packages inplace under nox.
tseaver Aug 29, 2018
0f7b0ae
bigquery: install local packages inplace under nox.
tseaver Aug 29, 2018
e13360d
bigtable: install local packages inplace under nox.
tseaver Aug 29, 2018
d89d9c9
container: install local packages inplace under nox.
tseaver Aug 29, 2018
08fcc0d
datastore: install local packages inplace under nox.
tseaver Aug 29, 2018
cf27394
dns: install local packages inplace under nox.
tseaver Aug 29, 2018
eb80bb5
error_reporting: install local packages inplace under nox.
tseaver Aug 29, 2018
3becd69
firestore: install local packages inplace under nox.
tseaver Aug 29, 2018
1438d0a
language: install local packages inplace under nox.
tseaver Aug 29, 2018
4e6fe76
logging: install local packages inplace under nox.
tseaver Aug 29, 2018
b83aad5
pubsub: install local packages inplace under nox.
tseaver Aug 29, 2018
b682f3c
redis: install local packages inplace under nox.
tseaver Aug 29, 2018
157c337
resource_manager: install local packages inplace under nox.
tseaver Aug 29, 2018
ec7a953
spanner: install local packages inplace under nox.
tseaver Aug 29, 2018
0bb0653
storage: install local packages inplace under nox.
tseaver Aug 29, 2018
b1c0224
trace: install local packages inplace under nox.
tseaver Aug 29, 2018
7380975
translate: install local packages inplace under nox.
tseaver Aug 29, 2018
d8d5f66
websecurityscanner: install local packages inplace under nox.
tseaver Aug 29, 2018
8bfefdf
Whitespace fix.
tseaver Aug 29, 2018
bb0efc3
Workaround for pip's '-e' flag not being sticky.
tseaver Aug 30, 2018
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
language: install local packages inplace under nox.
  • Loading branch information
tseaver committed Aug 29, 2018
commit 1438d0aeba673e2abbf27eb84a8af8ea65962eea
14 changes: 7 additions & 7 deletions language/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ def default(session):
Python corresponding to the ``nox`` binary the ``PATH`` can
run the tests.
"""
# Install all test dependencies, then install this package in-place.
session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS)
# Install all test dependencies, then install local packages in-place.
session.install('mock', 'pytest', 'pytest-cov')
session.install('-e', *LOCAL_DEPS)
session.install('-e', '.')

# Run py.test against the unit tests.
Expand Down Expand Up @@ -84,11 +85,10 @@ def system(session, py):
# Use pre-release gRPC for system tests.
session.install('--pre', 'grpcio')

# Install all test dependencies, then install this package into the
# virtualenv's dist-packages.
session.install('mock', 'pytest', *LOCAL_DEPS)
session.install('../storage/', '../test_utils/')
session.install('.')
# Install all test dependencies, then install local packages in-place.
session.install('mock', 'pytest')
session.install('-e', '../storage/', '../test_utils/', *LOCAL_DEPS)
session.install('-e', '.')

# Run py.test against the system tests.
session.run('py.test', '--quiet', 'tests/system/')
Expand Down