mirror of
https://github.com/google/pybadges.git
synced 2026-01-07 03:40:09 +01:00
Update CircleCI config to run compatibility checks
This commit is contained in:
@@ -11,6 +11,17 @@ jobs:
|
||||
sudo pip install virtualenv
|
||||
sudo pip install nox
|
||||
nox -f noxfile.py -s unit
|
||||
Compatibility Test:
|
||||
docker:
|
||||
- image: circleci/python:3.7.1
|
||||
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
command: |
|
||||
sudo pip install virtualenv
|
||||
sudo pip install nox
|
||||
nox -f noxfile.py -s compatibility
|
||||
Lint:
|
||||
docker:
|
||||
- image: circleci/python:3.7.1
|
||||
@@ -51,9 +62,10 @@ workflows:
|
||||
version: 2
|
||||
test:
|
||||
jobs:
|
||||
- Unit Test
|
||||
- Lint
|
||||
- Unit Test
|
||||
- Type Check
|
||||
- Compatibility Test
|
||||
release:
|
||||
jobs:
|
||||
- Release:
|
||||
|
||||
@@ -48,7 +48,7 @@ def unit(session):
|
||||
@nox.parametrize('install',
|
||||
['Jinja2==2.9.0', 'Pillow==5.0.0', 'requests==2.9.0'])
|
||||
def compatibility(session, install):
|
||||
"""Run the unit test suite."""
|
||||
"""Run the unit test suite with each support library and Python version."""
|
||||
|
||||
session.install('-e', '.[dev]')
|
||||
session.install(install)
|
||||
|
||||
Reference in New Issue
Block a user