summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml56
1 files changed, 56 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..29f1bd3
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,56 @@
+name: main
+on:
+ pull_request:
+ push:
+ branches: [master, 'test-me-*']
+ tags: ['*']
+
+jobs:
+ main:
+ strategy:
+ matrix:
+ include:
+ - os: windows-latest
+ py: 2.7
+ toxenv: py
+ - os: windows-latest
+ py: 3.9
+ toxenv: py
+ - os: ubuntu-latest
+ py: pypy2
+ toxenv: py
+ - os: ubuntu-latest
+ py: pypy3
+ toxenv: py
+ - os: ubuntu-latest
+ py: 2.7
+ toxenv: py
+ - os: ubuntu-latest
+ py: 3.4
+ toxenv: py
+ - os: ubuntu-latest
+ py: 3.5
+ toxenv: py
+ - os: ubuntu-latest
+ py: 3.6
+ toxenv: py
+ - os: ubuntu-latest
+ py: 3.7
+ toxenv: py
+ - os: ubuntu-latest
+ py: 3.8
+ toxenv: py
+ - os: ubuntu-latest
+ py: 3.9
+ toxenv: py
+ - os: ubuntu-latest
+ py: 3.9
+ toxenv: flake8
+ runs-on: ${{ matrix.os }}
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.py }}
+ - run: pip install tox
+ - run: tox -e ${{ matrix.toxenv }}