aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2020-11-06 19:26:53 +0000
committerMichael Williamson <mike@zwobble.org>2020-11-06 19:30:25 +0000
commit565695e9556435210e505974ae60e2c5459035f2 (patch)
tree4cf52678a99859d2f589b68e1e2d4b494a09c7e3 /.github
parentb4f1e237aa73462306fa248e3277afda4af97b23 (diff)
Add GitHub workflow
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/tests.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
new file mode 100644
index 0000000..9a7902c
--- /dev/null
+++ b/.github/workflows/tests.yml
@@ -0,0 +1,26 @@
+name: Tests
+
+on: [push, pull_request]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ python-version: [2.7, 3.4, 3.5, 3.6, 3.7, 3.8, pypy2, pypy3]
+
+ steps:
+
+ - uses: actions/checkout@v2
+
+ - name: Use Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python-version }}
+
+ - run: pip install tox
+
+ - run: make README
+
+ - run: tox -e py