aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-13 11:22:25 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-13 11:22:25 +0200
commit0bc2963419833cfeeb4fe2aceba63ee1239cabb5 (patch)
tree4d653e4ee90519d6b06b90737786eba676eafa89
parent4c6ca9986ec11517ef7d35afb2f18cfb62b78109 (diff)
downloadmastodon.py-0bc2963419833cfeeb4fe2aceba63ee1239cabb5.tar.gz
Add more python versions to test
-rw-r--r--.circleci/config.yml56
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 @@
1version: 2.1 1version: 2.1
2jobs: 2jobs:
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
22workflows: 70workflows:
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
Powered by cgit v1.2.3 (git 2.41.0)