File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed
Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change 66 workflow_dispatch :
77
88jobs :
9- run :
10- name : Run build and unit tests
9+ unlimited :
10+ name : Run build and unit tests. (unlimited API)
1111 runs-on : ubuntu-20.04
1212 steps :
1313 - name : Checkout
2626 - name : Run unit tests
2727 run : |
2828 python3 -m unittest
29+ limited :
30+ name : Run build and unit tests. (limited API)
31+ runs-on : ubuntu-20.04
32+ steps :
33+ - name : Checkout
34+ uses : actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
35+ - name : Install dependencies
36+ run : |
37+ sudo apt update
38+ sudo apt install python3-setuptools python3-dev libsystemd-dev \
39+ systemd dbus python3 gcc
40+ - name : Build extension
41+ env :
42+ PYTHON_SDBUS_USE_LIMITED_API : " 1"
43+ run : |
44+ python3 setup.py build
45+ - name : Install extension
46+ run : |
47+ sudo python3 setup.py install --old-and-unmanageable
48+ - name : Run unit tests
49+ run : |
50+ python3 -m unittest
You can’t perform that action at this time.
0 commit comments