mirror of
https://github.com/google/pybadges.git
synced 2025-07-21 20:51:07 +02:00
Add tests for older Python versions
This commit is contained in:
@@ -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:
|
||||
|
@@ -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')
|
||||
|
Reference in New Issue
Block a user