File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed
Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,10 @@ jobs:
2020 systemd dbus python3 gcc
2121 - name : Build extension
2222 run : |
23- python3 setup.py build
24- - name : Install extension
25- run : |
26- sudo python3 setup.py install --old-and-unmanageable
23+ python3 setup.py build --build-lib build-lib
2724 - name : Run unit tests
2825 run : |
29- python3 -m unittest
26+ PYTHONPATH=./build-lib python3 -m unittest
3027 limited :
3128 name : Run build and unit tests. (limited API)
3229 runs-on : ubuntu-20.04
@@ -42,15 +39,10 @@ jobs:
4239 env :
4340 PYTHON_SDBUS_USE_LIMITED_API : " 1"
4441 run : |
45- python3 setup.py build
46- - name : Install extension
47- env :
48- PYTHON_SDBUS_USE_LIMITED_API : " 1"
49- run : |
50- sudo python3 setup.py install --old-and-unmanageable
42+ python3 setup.py build --build-lib build-lib
5143 - name : Run unit tests
5244 run : |
53- python3 -m unittest
45+ PYTHONPATH=./build-lib python3 -m unittest
5446 lint :
5547 name : Run linters on the code
5648 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments