2021-02-08 10:02:48 +00:00
|
|
|
name: Test
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
2021-02-08 10:11:39 +00:00
|
|
|
runs-on: ubuntu-18.04
|
2021-02-08 10:02:48 +00:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
python-version:
|
|
|
|
- 3.4
|
|
|
|
- 3.5
|
|
|
|
- 3.6
|
|
|
|
- 3.7
|
|
|
|
- 3.8
|
|
|
|
- 3.9
|
2021-02-08 13:42:41 +00:00
|
|
|
fail-fast: false
|
2021-02-08 10:02:48 +00: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
|
|
|
|
python -m pip install 'setuptools>=18.5,<=39.0.0'
|
|
|
|
python -m pip install -r test-requirements.txt
|
|
|
|
- name: Run tests
|
|
|
|
run: |
|
|
|
|
python setup.py nosetests --verbosity=3
|