diff options
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index e6accb3..3c677fe 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml | |||
@@ -1,5 +1,18 @@ | |||
1 | version: 2.1 | 1 | version: 2.1 |
2 | jobs: | 2 | jobs: |
3 | run-tests-36: | ||
4 | docker: | ||
5 | - image: cimg/python:3.6 | ||
6 | steps: | ||
7 | - checkout | ||
8 | - run: | ||
9 | name: "Install test deps" | ||
10 | command: "pip install .[test]" | ||
11 | - run: | ||
12 | name: "Run tests" | ||
13 | command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" | ||
14 | - store_test_results: | ||
15 | path: tests | ||
3 | run-tests-37: | 16 | run-tests-37: |
4 | docker: | 17 | docker: |
5 | - image: cimg/python:3.7 | 18 | - image: cimg/python:3.7 |
@@ -9,9 +22,6 @@ jobs: | |||
9 | name: "Install test deps" | 22 | name: "Install test deps" |
10 | command: "pip install .[test]" | 23 | command: "pip install .[test]" |
11 | - run: | 24 | - run: |
12 | name: "Install codecov" | ||
13 | command: "pip install codecov" | ||
14 | - run: | ||
15 | name: "Run tests" | 25 | name: "Run tests" |
16 | command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" | 26 | command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" |
17 | - store_test_results: | 27 | - store_test_results: |
@@ -42,10 +52,7 @@ jobs: | |||
42 | - checkout | 52 | - checkout |
43 | - run: | 53 | - run: |
44 | name: "Install test deps" | 54 | name: "Install test deps" |
45 | command: "pip install .[test]" | 55 | command: "pip install .[test]" |
46 | - run: | ||
47 | name: "Install codecov" | ||
48 | command: "pip install codecov" | ||
49 | - run: | 56 | - run: |
50 | name: "Run tests" | 57 | name: "Run tests" |
51 | command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" | 58 | command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" |
@@ -58,10 +65,7 @@ jobs: | |||
58 | - checkout | 65 | - checkout |
59 | - run: | 66 | - run: |
60 | name: "Install test deps" | 67 | name: "Install test deps" |
61 | command: "pip install .[test]" | 68 | command: "pip install .[test]" |
62 | - run: | ||
63 | name: "Install codecov" | ||
64 | command: "pip install codecov" | ||
65 | - run: | 69 | - run: |
66 | name: "Run tests" | 70 | name: "Run tests" |
67 | command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" | 71 | command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'" |
@@ -70,6 +74,7 @@ jobs: | |||
70 | workflows: | 74 | workflows: |
71 | run-tests-workflow: | 75 | run-tests-workflow: |
72 | jobs: | 76 | jobs: |
77 | - run-tests-36 | ||
73 | - run-tests-37 | 78 | - run-tests-37 |
74 | - run-tests-38-cov | 79 | - run-tests-38-cov |
75 | - run-tests-39 | 80 | - run-tests-39 |