1
0
Fork 0
mirror of https://github.com/mikegerber/ocrd_calamari.git synced 2025-06-09 11:49:53 +02:00

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

This commit is contained in:
Gerber, Mike 2022-02-24 17:05:50 +01:00
parent 50877f87be
commit ef63291b5a

View file

@ -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"]