File tree 2 files changed +5
-4
lines changed 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,10 @@ RUN export DEBIAN_FRONTEND=noninteractive; \
27
27
python3-gi
28
28
29
29
RUN pip3 install yapf flake8 && \
30
+ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
30
31
for py in python3 python3.6 python3.7 python3.9 python3.10; do \
31
- curl https://bootstrap.pypa.io/ get-pip.py | $ py; \
32
- $py -m pip install \
32
+ ${py} get-pip.py; \
33
+ PYTHONPATH=/usr/lib/${py}/site-packages ${py} -m pip install \
33
34
pytest \
34
35
pytest-asyncio \
35
36
pytest-timeout \
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ format:
14
14
15
15
test :
16
16
for py in python3.6 python3.7 python3.9 python3.10 python3.8 ; do \
17
- if hash $$ py ; then \
18
- dbus-run-session $$ py -m pytest -sv --cov=dbus_next || exit 1 ; \
17
+ if hash $$ {py} ; then \
18
+ PYTHONPATH=/usr/lib/ $$ {py}/site-packages dbus-run-session $$ {py} -m pytest -sv --cov=dbus_next || exit 1 ; \
19
19
fi \
20
20
done \
21
21
You can’t perform that action at this time.
0 commit comments