diff options
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 56 |
1 files changed, 54 insertions, 2 deletions
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 @@ | |||
1 | version: 2.1 | 1 | version: 2.1 |
2 | jobs: | 2 | jobs: |
3 | run-tests: | 3 | run-tests-37: |
4 | docker: | ||
5 | - image: cimg/python:3.7 | ||
6 | steps: | ||
7 | - checkout | ||
8 | - run: | ||
9 | name: "Install test deps" | ||
10 | command: "pip install .[test]" | ||
11 | - run: | ||
12 | name: "Install codecov" | ||
13 | command: "pip install codecov" | ||
14 | - run: | ||
15 | name: "Run tests" | ||
16 | command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" | ||
17 | - store_test_results: | ||
18 | path: tests | ||
19 | run-tests-38-cov: | ||
4 | docker: | 20 | docker: |
5 | - image: cimg/python:3.8 | 21 | - image: cimg/python:3.8 |
6 | steps: | 22 | steps: |
@@ -19,7 +35,43 @@ jobs: | |||
19 | - run: | 35 | - run: |
20 | name: "Notify codecov" | 36 | name: "Notify codecov" |
21 | command: "codecov" | 37 | command: "codecov" |
38 | run-tests-39: | ||
39 | docker: | ||
40 | - image: cimg/python:3.9 | ||
41 | steps: | ||
42 | - checkout | ||
43 | - run: | ||
44 | name: "Install test deps" | ||
45 | command: "pip install .[test]" | ||
46 | - run: | ||
47 | name: "Install codecov" | ||
48 | command: "pip install codecov" | ||
49 | - run: | ||
50 | name: "Run tests" | ||
51 | command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" | ||
52 | - store_test_results: | ||
53 | path: tests | ||
54 | run-tests-310: | ||
55 | docker: | ||
56 | - image: cimg/python:3.10 | ||
57 | steps: | ||
58 | - checkout | ||
59 | - run: | ||
60 | name: "Install test deps" | ||
61 | command: "pip install .[test]" | ||
62 | - run: | ||
63 | name: "Install codecov" | ||
64 | command: "pip install codecov" | ||
65 | - run: | ||
66 | name: "Run tests" | ||
67 | command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" | ||
68 | - store_test_results: | ||
69 | path: tests | ||
22 | workflows: | 70 | workflows: |
23 | run-tests-workflow: | 71 | run-tests-workflow: |
24 | jobs: | 72 | jobs: |
25 | - run-tests | 73 | - run-tests-37 |
74 | - run-tests-38-cov | ||
75 | - run-tests-39 | ||
76 | - run-tests-310 | ||
77 | \ No newline at end of file | ||