Browse Source

Add Github Actions workflow to run tox

Sebastian Lohff 6 months ago
parent
commit
0334e74996
1 changed files with 25 additions and 0 deletions
  1. 25
    0
      .github/workflows/run-tox.yml

+ 25
- 0
.github/workflows/run-tox.yml View File

@@ -0,0 +1,25 @@
1
+name: Run Tox
2
+
3
+on:
4
+  push:
5
+    branches:
6
+      - master
7
+  pull_request:
8
+
9
+jobs:
10
+  build:
11
+    runs-on: ubuntu-latest
12
+    strategy:
13
+      matrix:
14
+        python: [2.7, 3.6, 3.7, 3.8, 3.9]
15
+
16
+    steps:
17
+      - uses: actions/checkout@v2
18
+      - name: Setup Python
19
+        uses: actions/setup-python@v2
20
+        with:
21
+          python-version: ${{ matrix.python }}
22
+      - name: Install Tox
23
+        run: pip install tox
24
+      - name: Run Tox
25
+        run: tox -e py

Loading…
Cancel
Save