From 0bc2963419833cfeeb4fe2aceba63ee1239cabb5 Mon Sep 17 00:00:00 2001 From: halcy Date: Sun, 13 Nov 2022 11:22:25 +0200 Subject: Add more python versions to test --- .circleci/config.yml | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 54 insertions(+), 2 deletions(-) (limited to '.circleci') diff --git a/.circleci/config.yml b/.circleci/config.yml index 541f072..e6accb3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,22 @@ version: 2.1 jobs: - run-tests: + run-tests-37: + docker: + - image: cimg/python:3.7 + steps: + - checkout + - run: + name: "Install test deps" + command: "pip install .[test]" + - run: + name: "Install codecov" + command: "pip install codecov" + - run: + name: "Run tests" + command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" + - store_test_results: + path: tests + run-tests-38-cov: docker: - image: cimg/python:3.8 steps: @@ -19,7 +35,43 @@ jobs: - run: name: "Notify codecov" command: "codecov" + run-tests-39: + docker: + - image: cimg/python:3.9 + steps: + - checkout + - run: + name: "Install test deps" + command: "pip install .[test]" + - run: + name: "Install codecov" + command: "pip install codecov" + - run: + name: "Run tests" + command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" + - store_test_results: + path: tests + run-tests-310: + docker: + - image: cimg/python:3.10 + steps: + - checkout + - run: + name: "Install test deps" + command: "pip install .[test]" + - run: + name: "Install codecov" + command: "pip install codecov" + - run: + name: "Run tests" + command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" + - store_test_results: + path: tests workflows: run-tests-workflow: jobs: - - run-tests + - run-tests-37 + - run-tests-38-cov + - run-tests-39 + - run-tests-310 + \ No newline at end of file -- cgit v1.2.3