Skip to content

Commit 8a01e38

Browse files
authored
Merge pull request #2705 from dhermes/non-stale-local-deps
Keeping local (filesystem) deps from going stale in tox.ini
2 parents 7696b03 + 73c611a commit 8a01e38

File tree

16 files changed

+88
-34
lines changed

16 files changed

+88
-34
lines changed

bigquery/tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ envlist =
33
py27,py34,py35,cover
44

55
[testing]
6+
localdeps =
7+
pip install --upgrade {toxinidir}/../core
68
deps =
7-
{toxinidir}/../core
89
pytest
910
covercmd =
1011
py.test --quiet \
@@ -15,6 +16,7 @@ covercmd =
1516

1617
[testenv]
1718
commands =
19+
{[testing]localdeps}
1820
py.test --quiet {posargs} unit_tests
1921
deps =
2022
{[testing]deps}
@@ -23,6 +25,7 @@ deps =
2325
basepython =
2426
python2.7
2527
commands =
28+
{[testing]localdeps}
2629
{[testing]covercmd}
2730
deps =
2831
{[testenv]deps}

bigtable/tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ envlist =
33
py27,py34,py35,cover
44

55
[testing]
6+
localdeps =
7+
pip install --upgrade {toxinidir}/../core
68
deps =
7-
{toxinidir}/../core
89
pytest
910
covercmd =
1011
py.test --quiet \
@@ -15,6 +16,7 @@ covercmd =
1516

1617
[testenv]
1718
commands =
19+
{[testing]localdeps}
1820
py.test --quiet {posargs} unit_tests
1921
deps =
2022
{[testing]deps}
@@ -23,6 +25,7 @@ deps =
2325
basepython =
2426
python2.7
2527
commands =
28+
{[testing]localdeps}
2629
{[testing]covercmd}
2730
deps =
2831
{[testenv]deps}

datastore/tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ envlist =
33
py27,py34,py35,cover
44

55
[testing]
6+
localdeps =
7+
pip install --upgrade {toxinidir}/../core
68
deps =
7-
{toxinidir}/../core
89
pytest
910
covercmd =
1011
py.test --quiet \
@@ -15,6 +16,7 @@ covercmd =
1516

1617
[testenv]
1718
commands =
19+
{[testing]localdeps}
1820
py.test --quiet {posargs} unit_tests
1921
deps =
2022
{[testing]deps}
@@ -23,6 +25,7 @@ deps =
2325
basepython =
2426
python2.7
2527
commands =
28+
{[testing]localdeps}
2629
{[testing]covercmd}
2730
deps =
2831
{[testenv]deps}

dns/tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ envlist =
33
py27,py34,py35,cover
44

55
[testing]
6+
localdeps =
7+
pip install --upgrade {toxinidir}/../core
68
deps =
7-
{toxinidir}/../core
89
pytest
910
covercmd =
1011
py.test --quiet \
@@ -15,6 +16,7 @@ covercmd =
1516

1617
[testenv]
1718
commands =
19+
{[testing]localdeps}
1820
py.test --quiet {posargs} unit_tests
1921
deps =
2022
{[testing]deps}
@@ -23,6 +25,7 @@ deps =
2325
basepython =
2426
python2.7
2527
commands =
28+
{[testing]localdeps}
2629
{[testing]covercmd}
2730
deps =
2831
{[testenv]deps}

error_reporting/tox.ini

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ envlist =
33
py27,py34,py35,cover
44

55
[testing]
6+
localdeps =
7+
pip install --upgrade \
8+
{toxinidir}/../core \
9+
{toxinidir}/../logging
610
deps =
7-
{toxinidir}/../core
8-
{toxinidir}/../logging
911
pytest
1012
covercmd =
1113
py.test --quiet \
@@ -16,6 +18,7 @@ covercmd =
1618

1719
[testenv]
1820
commands =
21+
{[testing]localdeps}
1922
py.test --quiet {posargs} unit_tests
2023
deps =
2124
{[testing]deps}
@@ -24,6 +27,7 @@ deps =
2427
basepython =
2528
python2.7
2629
commands =
30+
{[testing]localdeps}
2731
{[testing]covercmd}
2832
deps =
2933
{[testenv]deps}

language/tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ envlist =
33
py27,py34,py35,cover
44

55
[testing]
6+
localdeps =
7+
pip install --upgrade {toxinidir}/../core
68
deps =
7-
{toxinidir}/../core
89
pytest
910
covercmd =
1011
py.test --quiet \
@@ -15,6 +16,7 @@ covercmd =
1516

1617
[testenv]
1718
commands =
19+
{[testing]localdeps}
1820
py.test --quiet {posargs} unit_tests
1921
deps =
2022
{[testing]deps}
@@ -23,6 +25,7 @@ deps =
2325
basepython =
2426
python2.7
2527
commands =
28+
{[testing]localdeps}
2629
{[testing]covercmd}
2730
deps =
2831
{[testenv]deps}

logging/tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ envlist =
33
py27,py34,py35,cover
44

55
[testing]
6+
localdeps =
7+
pip install --upgrade {toxinidir}/../core
68
deps =
7-
{toxinidir}/../core
89
pytest
910
covercmd =
1011
py.test --quiet \
@@ -15,6 +16,7 @@ covercmd =
1516

1617
[testenv]
1718
commands =
19+
{[testing]localdeps}
1820
py.test --quiet {posargs} unit_tests
1921
deps =
2022
{[testing]deps}
@@ -23,6 +25,7 @@ deps =
2325
basepython =
2426
python2.7
2527
commands =
28+
{[testing]localdeps}
2629
{[testing]covercmd}
2730
deps =
2831
{[testenv]deps}

monitoring/tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ envlist =
33
py27,py34,py35,cover,{py27,py34,py35}-{pandas}
44

55
[testing]
6+
localdeps =
7+
pip install --upgrade {toxinidir}/../core
68
deps =
7-
{toxinidir}/../core
89
pytest
910
covercmd =
1011
py.test --quiet \
@@ -15,6 +16,7 @@ covercmd =
1516

1617
[testenv]
1718
commands =
19+
{[testing]localdeps}
1820
py.test --quiet {posargs} unit_tests
1921
deps =
2022
{[testing]deps}
@@ -24,6 +26,7 @@ deps =
2426
basepython =
2527
python2.7
2628
commands =
29+
{[testing]localdeps}
2730
{[testing]covercmd}
2831
deps =
2932
{[testing]deps}

pubsub/tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ envlist =
33
py27,py34,py35,cover
44

55
[testing]
6+
localdeps =
7+
pip install --upgrade {toxinidir}/../core
68
deps =
7-
{toxinidir}/../core
89
pytest
910
covercmd =
1011
py.test --quiet \
@@ -15,6 +16,7 @@ covercmd =
1516

1617
[testenv]
1718
commands =
19+
{[testing]localdeps}
1820
py.test --quiet {posargs} unit_tests
1921
deps =
2022
{[testing]deps}
@@ -23,6 +25,7 @@ deps =
2325
basepython =
2426
python2.7
2527
commands =
28+
{[testing]localdeps}
2629
{[testing]covercmd}
2730
deps =
2831
{[testenv]deps}

resource_manager/tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ envlist =
33
py27,py34,py35,cover
44

55
[testing]
6+
localdeps =
7+
pip install --upgrade {toxinidir}/../core
68
deps =
7-
{toxinidir}/../core
89
pytest
910
covercmd =
1011
py.test --quiet \
@@ -15,6 +16,7 @@ covercmd =
1516

1617
[testenv]
1718
commands =
19+
{[testing]localdeps}
1820
py.test --quiet {posargs} unit_tests
1921
deps =
2022
{[testing]deps}
@@ -23,6 +25,7 @@ deps =
2325
basepython =
2426
python2.7
2527
commands =
28+
{[testing]localdeps}
2629
{[testing]covercmd}
2730
deps =
2831
{[testenv]deps}

0 commit comments

Comments
 (0)