26 lines
602 B
YAML
26 lines
602 B
YAML
|
name: test
|
||
|
on:
|
||
|
push: {}
|
||
|
pull_request: {}
|
||
|
jobs:
|
||
|
tests:
|
||
|
runs-on: ubuntu-latest
|
||
|
strategy:
|
||
|
fail-fast: false
|
||
|
matrix:
|
||
|
py-version: ['3.6', '3.7', '3.8']
|
||
|
name: Python ${{ matrix.py-version }} Test
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v2
|
||
|
- name: Setup Python
|
||
|
uses: actions/setup-python@v2
|
||
|
with:
|
||
|
python-version: ${{ matrix.py-version }}
|
||
|
- name: Install dependencies
|
||
|
run: |
|
||
|
python -m pip install -U pip setuptools wheel
|
||
|
python -m pip install -U tox tox-gh-actions
|
||
|
- name: Run tests
|
||
|
run: tox
|