Skip to content

Commit a2cc1ad

Browse files
authored
Explicitly install dependencies in lint env for tox (#1456)
1 parent 8d195e6 commit a2cc1ad

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
# Otherwise, set variable to the commit of your branch on
1111
# opentelemetry-python-contrib which is compatible with these Core repo
1212
# changes.
13-
CONTRIB_REPO_SHA: b37945bdeaf49822b240281d493d053995cc2b7b
13+
CONTRIB_REPO_SHA: master
1414

1515
jobs:
1616
build:

tox.ini

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,17 @@ deps =
139139
httpretty
140140

141141
commands_pre =
142-
python scripts/eachdist.py install --editable --with-test-deps
142+
python -m pip install -e {toxinidir}/opentelemetry-api[test]
143+
python -m pip install -e {toxinidir}/opentelemetry-sdk[test]
144+
python -m pip install -e {toxinidir}/opentelemetry-instrumentation[test]
145+
python -m pip install -e {toxinidir}/opentelemetry-proto[test]
146+
python -m pip install -e {toxinidir}/tests/util[test]
147+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-opentracing-shim[test]
148+
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-jaeger[test]
149+
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-opencensus[test]
150+
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-otlp[test]
151+
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-prometheus[test]
152+
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-zipkin[test]
143153

144154
commands =
145155
python scripts/eachdist.py lint --check-only

0 commit comments

Comments
 (0)