File tree Expand file tree Collapse file tree 3 files changed +25
-13
lines changed Expand file tree Collapse file tree 3 files changed +25
-13
lines changed Original file line number Diff line number Diff line change 15
15
version : 2.1
16
16
17
17
executors :
18
+ python37 :
19
+ docker :
20
+ - image : circleci/python:3.7
21
+ python38 :
22
+ docker :
23
+ - image : circleci/python:3.8
18
24
python39 :
19
25
docker :
20
26
- image : circleci/python:3.9
21
27
22
28
jobs :
23
29
publish :
24
- executor : python39
30
+ parameters :
31
+ executor :
32
+ type : executor
33
+ default : python39
34
+ executor : << parameters.executor >>
25
35
environment :
26
36
PIPENV_VENV_IN_PROJECT : true
27
37
steps :
@@ -73,15 +83,12 @@ workflows:
73
83
version : 2
74
84
build_and_test_and_publish :
75
85
jobs :
76
- - build
77
- # TODO: enable to publish after successful build
78
- # - publish:
79
- # filters:
80
- # branches:
81
- # only: main
82
- # context: pypi
83
- # requires:
84
- # - build
86
+ - build :
87
+ executor : python37
88
+ - build :
89
+ executor : python38
90
+ - build :
91
+ executor : python39
85
92
86
93
build_nightly :
87
94
triggers :
@@ -91,4 +98,9 @@ workflows:
91
98
branches :
92
99
only : main
93
100
jobs :
94
- - build
101
+ - build :
102
+ executor : python37
103
+ - build :
104
+ executor : python38
105
+ - build :
106
+ executor : python39
Original file line number Diff line number Diff line change 56
56
- name : Ensure build successful
57
57
run : poetry build
58
58
- name : Run tox
59
- run : poetry run tox
59
+ run : poetry run tox -e py${{ matrix.python-version }}
60
60
- name : Generate coverage reports
61
61
run : >
62
62
poetry run coverage report &&
Original file line number Diff line number Diff line change 1
1
[tox]
2
2
minversion =3.9.0
3
- envlist = flake8,py39,py38,py37
3
+ envlist = flake8,py3.9,py3.8,py3.7
4
4
5
5
[testenv]
6
6
deps =
You can’t perform that action at this time.
0 commit comments