Add GitHub Actions workflow for CI

This commit is contained in:
dgelessus
2019-12-30 01:59:05 +01:00
parent 6adf8eb88d
commit 3a805c3e56
3 changed files with 26 additions and 0 deletions

21
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
on: push
jobs:
test:
strategy:
matrix:
platform: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: "3.6"
- uses: actions/setup-python@v1
with:
python-version: "3.7"
- uses: actions/setup-python@v1
with:
python-version: "3.8"
- run: python -m pip install --upgrade pip
- run: python -m pip install --upgrade tox
- run: tox