summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dent <cdent@anticdent.org>2023-04-30 11:07:52 +0100
committerChris Dent <cdent@anticdent.org>2023-04-30 11:07:52 +0100
commit6272343d70032303c4ddf0ae82de5e211778c758 (patch)
tree28d942c5e5ede6c2b89a162d897d00062e34dcad
parent59eaf315d0e25ea8189e63d4f448d9808f8eb85d (diff)
downloadpaste-git-6272343d70032303c4ddf0ae82de5e211778c758.tar.gz
Attempt to add github actions tests
Borrowing the configuration from wsg-intercept so that we've got some automated tests.
-rw-r--r--.github/workflows/tests.yaml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
new file mode 100644
index 0000000..b6244e5
--- /dev/null
+++ b/.github/workflows/tests.yaml
@@ -0,0 +1,40 @@
+name: tests
+on: [push, workflow_dispatch]
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ include:
+ - python: 2.7
+ env: py27
+ - python: 3.9
+ env: pep8
+ - python: 3.9
+ env: docs
+ - python: 3.5
+ env: py35
+ - python: 3.6
+ env: py36
+ - python: 3.7
+ env: py37
+ - python: 3.8
+ env: py38
+ - python: 3.9
+ env: py39
+ - python: "3.10"
+ env: py310
+ - python: "3.11"
+ env: py311
+ - python: pypy-3.8
+ env: pypy3
+ name: ${{ matrix.env }} on Python ${{ matrix.python }}
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python }}
+ - run: pip install tox
+ - run: tox
+ env:
+ TOXENV: ${{ matrix.env }}