From 64df2f241cbbe5ddccab7852e0a5fdcebb577246 Mon Sep 17 00:00:00 2001 From: izzy lyseggen Date: Wed, 20 Jan 2021 16:57:35 +0000 Subject: [PATCH] ci: run tests for py 3.6 - 3.9 --- .circleci/config.yml | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 384503f..9d8798d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,27 +2,34 @@ version: 2.1 orbs: python: circleci/python@1.3.2 - + jobs: build: - executor: python/default + executor: + name: python/default + tag: << parameters.tag >> + parameters: + tag: + default: "3.8" + type: string steps: - checkout - - run: python -m pip install --upgrade pip - - python/install-packages: - pkg-manager: pip + - run: python --version + - run: + command: python -m pip install --upgrade pip + name: upgrade pip - python/install-packages: pip-dependency-file: requirements.txt pkg-manager: pip - - run: - command: | - pytest --version - name: Test + - run: pytest --version workflows: main: jobs: - - build - python/test: + matrix: + parameters: + version: ["3.6", "3.7", "3.8", "3.9"] pkg-manager: pip test-tool: pytest + \ No newline at end of file