From ef63291b5ada6cce173d505c566876bb9dd7010f Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Thu, 24 Feb 2022 17:05:50 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=94=EF=B8=8F=20CircleCI:=20Use=20a=20test?= =?UTF-8?q?=20matrix=20to=20test=20on=20different=20Python=20versions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .circleci/config.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ce7c573..1777f69 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,10 +3,12 @@ orbs: codecov: codecov/codecov@1.0.5 jobs: - - test-python36: + test: + parameters: + python-image: + type: string docker: - - image: python:3.6.12 + - image: << parameters.python-image >> environment: - LC_ALL=C.UTF-8 - PYTHONIOENCODING: utf-8 @@ -20,8 +22,11 @@ jobs: workflows: build: jobs: - - test-python36: + - test: filters: branches: ignore: - screenshots + matrix: + parameters: + python-image: ["python:3.6", "python:3.7", "python:3.8", "python:3.9", "python:3.10"]