26 lines
525 B
YAML
26 lines
525 B
YAML
|
name: Tests
|
||
|
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
jobs:
|
||
|
tests:
|
||
|
runs-on: ubuntu-latest
|
||
|
strategy:
|
||
|
matrix:
|
||
|
include:
|
||
|
- python: "3.6"
|
||
|
- python: "3.7"
|
||
|
- python: "3.8"
|
||
|
- python: "3.9"
|
||
|
- python: "3.10"
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Setup Python
|
||
|
uses: actions/setup-python@v2
|
||
|
with:
|
||
|
python-version: ${{ matrix.python }}
|
||
|
- name: Install tox
|
||
|
run: pip install tox
|
||
|
- name: Test
|
||
|
run: tox -e py
|