We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2a6107 commit 62671d5Copy full SHA for 62671d5
.github/workflows/ubuntu_pypi_test.yml
@@ -0,0 +1,23 @@
1
+---
2
+name: Install package from PyPI and run unit tests on Ubuntu 20.04
3
+on:
4
+ workflow_dispatch:
5
+
6
+jobs:
7
+ run:
8
+ name: Install from PyPI and run unit tests
9
+ runs-on: ubuntu-20.04
10
+ steps:
11
+ - name: Checkout
12
+ uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
13
+ - name: Install dependencies
14
+ run: |
15
+ sudo apt update
16
+ sudo apt install python3-setuptools python3-dev libsystemd-dev \
17
+ systemd dbus python3 gcc python3-pip python3-jinja2
18
+ - name: Install package # TODO set version to generic once 0.8.0 releases
19
20
+ pip3 install sdbus==0.8.0rc1
21
+ - name: Run unit tests
22
23
+ python3 -m unittest
0 commit comments