mirror of
https://github.com/Tiendil/pynames.git
synced 2026-01-01 17:58:49 +01:00
Support Python 3.10, drop support of Python 3.5
This commit is contained in:
parent
0ea5d2ff3c
commit
57635e2bdd
11 changed files with 104 additions and 72 deletions
26
.github/workflows/run_tests.yml
vendored
Normal file
26
.github/workflows/run_tests.yml
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue