Support Python 3.10, drop support of Python 3.5

This commit is contained in:
Aliaksei Yaletski (Tiendil) 2021-11-09 13:23:38 +03:00
parent 0ea5d2ff3c
commit 57635e2bdd
11 changed files with 104 additions and 72 deletions

26
.github/workflows/run_tests.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: Run tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
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 poetry
poetry install
- name: Run Tests
run: poetry run python -m unittest discover pynames