]> git.lizzy.rs Git - torbrowser-launcher.git/commitdiff
Create github actions to test ./setup.py install
authorkpcyrd <git@rxv.cc>
Sun, 20 Jun 2021 18:43:36 +0000 (18:43 +0000)
committerkpcyrd <git@rxv.cc>
Sun, 20 Jun 2021 18:52:04 +0000 (20:52 +0200)
.github/workflows/python.yml [new file with mode: 0644]

diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
new file mode 100644 (file)
index 0000000..3e5bb30
--- /dev/null
@@ -0,0 +1,19 @@
+name: Python
+
+on:
+  push:
+    branches: [ develop ]
+  pull_request:
+    branches: [ develop ]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v2
+    - name: Install dependencies
+      run: sudo apt-get install gettext python3 python3-packaging python3-gpg python3-pyqt5 python3-requests python3-socks
+    - name: Build torbrowser-launcher
+      run: python3 setup.py build
+    - name: Install torbrowser-launcher
+      run: sudo python3 setup.py install