Add tests for older Python versions

This commit is contained in:
Brian Quinlan
2022-02-22 20:39:44 -08:00
parent 1336303a82
commit e2dd4b988e
2 changed files with 23 additions and 2 deletions

View File

@@ -30,10 +30,29 @@ jobs:
pip install virtualenv
pip install nox
nox -f noxfile.py -s compatibility
Compatibility Test 3.8:
docker:
- image: cimg/python:3.8.12
steps:
- checkout
- run:
command: |
pip install virtualenv
pip install nox
nox -f noxfile.py -s compatibility
Compatibility Test 3.7:
docker:
- image: cimg/python:3.7.12
steps:
- checkout
- run:
command: |
pip install virtualenv
pip install nox
nox -f noxfile.py -s compatibility
Lint:
docker:
- image: cimg/python:3.10.2
steps:
- checkout
- run:
@@ -75,6 +94,8 @@ workflows:
- Type Check
- Compatibility Test 3.10
- Compatibility Test 3.9
- Compatibility Test 3.8
- Compatibility Test 3.9
release:
jobs:
- Release:

View File

@@ -65,5 +65,5 @@ def type_check(session):
session.skip('pytype not supported on Windows')
session.install('-e', '.[dev]')
session.install('pytype')
session.run('pytype', '--python-version=3.10', '--disable=pyi-error',
session.run('pytype', '--python-version=3.7', '--disable=pyi-error',
'pybadges')