✔️ CircleCI: Use a test matrix to test on different Python versions

fix/readme-no-checkpoint
Gerber, Mike 2 years ago
parent 50877f87be
commit ef63291b5a

@ -3,10 +3,12 @@ orbs:
codecov: codecov/codecov@1.0.5 codecov: codecov/codecov@1.0.5
jobs: jobs:
test:
test-python36: parameters:
python-image:
type: string
docker: docker:
- image: python:3.6.12 - image: << parameters.python-image >>
environment: environment:
- LC_ALL=C.UTF-8 - LC_ALL=C.UTF-8
- PYTHONIOENCODING: utf-8 - PYTHONIOENCODING: utf-8
@ -20,8 +22,11 @@ jobs:
workflows: workflows:
build: build:
jobs: jobs:
- test-python36: - test:
filters: filters:
branches: branches:
ignore: ignore:
- screenshots - screenshots
matrix:
parameters:
python-image: ["python:3.6", "python:3.7", "python:3.8", "python:3.9", "python:3.10"]

Loading…
Cancel
Save