File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ references:
5
5
run :
6
6
name : Install Poetry
7
7
command : |
8
- curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
8
+ # Need to use version < 1.2.0 in order to support Python 3.6
9
+ curl -sSL https://install.python-poetry.org | python3 - --version 1.1.15
9
10
restore-dependencies-cache : &restore-dependencies-cache
10
11
restore_cache :
11
12
keys :
@@ -14,7 +15,6 @@ references:
14
15
run :
15
16
name : Install Dependencies
16
17
command : |
17
- source $HOME/.poetry/env
18
18
poetry install
19
19
poetry run pip install "django~=<< parameters.django-version >>.0"
20
20
save-dependencies-cache : &save-dependencies-cache
65
65
- run :
66
66
name : Run Tests
67
67
command : |
68
- source $HOME/.poetry/env
69
68
poetry run ./runtests
70
69
71
70
lint :
82
81
- run :
83
82
name : Run Flake8
84
83
command : |
85
- source $HOME/.poetry/env
86
84
poetry run flake8
87
85
88
86
type-check :
99
97
- run :
100
98
name : Run Mypy
101
99
command : |
102
- source $HOME/.poetry/env
103
100
poetry run ./script/type-check
104
101
105
102
deploy :
@@ -112,7 +109,6 @@ jobs:
112
109
- run :
113
110
name : Push to PyPI
114
111
command : |
115
- source $HOME/.poetry/env
116
112
poetry publish \
117
113
--build \
118
114
--username "${PYPI_USERNAME}" \
You can’t perform that action at this time.
0 commit comments