File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,9 +27,10 @@ RUN export DEBIAN_FRONTEND=noninteractive; \
2727 python3-gi
2828
2929RUN pip3 install yapf flake8 && \
30+ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
3031 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 \
3334 pytest \
3435 pytest-asyncio \
3536 pytest-timeout \
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ format:
1414
1515test :
1616 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 ; \
1919 fi \
2020 done \
2121
You can’t perform that action at this time.
0 commit comments