File tree Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Original file line number Diff line number Diff line change
1
+ poetry>=1.1.6
2
+ tox>=3.23.1
3
+ tox-poetry>=0.3.0
Original file line number Diff line number Diff line change @@ -40,22 +40,31 @@ commands:
40
40
- abort_for_docs
41
41
- abort_for_noci
42
42
- checkout
43
- - run :
44
- name : install poetry
45
- command : |
46
- pip install --user --quiet poetry
43
+
44
+ - restore_cache : # Download and cache dependencies
45
+ keys :
46
+ - v1-dependencies-{{ checksum "pyproject.toml" }}
47
+ # fallback to using the latest cache if no exact match is found
48
+ - v1-dependencies-
47
49
48
50
- run :
49
- name : build
51
+ name : install tox dependencies
50
52
command : |
51
- poetry build --format sdist
52
- poetry build --format wheel
53
+ pip install --user --quiet -r .circleci/circle_requirements.txt
53
54
54
55
- save_cache :
55
56
paths :
56
57
- ./.tox
58
+ - ~/.cache/pip
57
59
key : v1-dependencies-{{ checksum "pyproject.toml" }}
58
60
61
+
62
+ - run :
63
+ name : build
64
+ command : |
65
+ poetry build --format sdist
66
+ poetry build --format wheel
67
+
59
68
- run :
60
69
name : lint
61
70
command : |
@@ -71,7 +80,7 @@ commands:
71
80
72
81
- early_return_for_forked_pull_requests
73
82
- run :
74
- name : codecove
83
+ name : codecov
75
84
command : |
76
85
. .tox/func/bin/activate
77
86
codecov --file .tox/cover/report/coverage.xml --name ${CODECOV_NAME}-unittests
You can’t perform that action at this time.
0 commit comments