2020-12-09 14:13:35 -05:00
|
|
|
name: python
|
|
|
|
|
2020-12-11 14:23:08 -05:00
|
|
|
on: [push, pull_request]
|
2020-12-09 14:13:35 -05:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
tox:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2020-12-17 10:00:47 -05:00
|
|
|
python-version: [3.6, 3.7, 3.8, 3.9]
|
2020-12-09 14:13:35 -05:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
|
|
uses: actions/setup-python@v2
|
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
python -m pip install --upgrade pip
|
|
|
|
pip install tox tox-gh-actions
|
|
|
|
- name: Test with tox
|
|
|
|
run: tox
|