File tree Expand file tree Collapse file tree 6 files changed +547
-483
lines changed
tests/FIXTURES/everything Expand file tree Collapse file tree 6 files changed +547
-483
lines changed Original file line number Diff line number Diff line change 3
3
build :
4
4
working_directory : ~/circleci
5
5
docker :
6
- - image : circleci /python:3.8.6
7
- - image : circleci /postgres:13
6
+ - image : cimg /python:3.10
7
+ - image : cimg /postgres:14.1
8
8
environment :
9
9
POSTGRES_USER : circleci
10
10
POSTGRES_DB : circleci
@@ -25,13 +25,13 @@ jobs:
25
25
- run :
26
26
name : Install poetry
27
27
command : |
28
- sudo pip3 install poetry>=1.0.0
28
+ python --version
29
+ python -m pip install -U pip setuptools poetry
29
30
poetry config virtualenvs.create false
30
31
- run :
31
32
command : |
32
- python3 -m venv ~/.venv
33
+ python -m venv ~/.venv
33
34
. ~/.venv/bin/activate
34
-
35
35
poetry install
36
36
- save_cache :
37
37
key : deps1-{{ .Branch }}-{{ checksum "pyproject.toml" }}
@@ -53,18 +53,21 @@ jobs:
53
53
publish :
54
54
working_directory : ~/circleci
55
55
docker :
56
- - image : circleci /python:3.8.6
56
+ - image : cimg /python:3.10
57
57
steps :
58
58
- setup_remote_docker
59
59
- checkout
60
60
- restore_cache :
61
61
key : deps1-{{ .Branch }}-{{ checksum "pyproject.toml" }}
62
62
- run :
63
- name : Install poetry, deps
63
+ name : Install poetry
64
64
command : |
65
- sudo pip3 install poetry>=1.0.0
65
+ python --version
66
+ python -m pip install -U pip setuptools poetry
66
67
poetry config virtualenvs.create false
67
- python3 -m venv ~/.venv
68
+ - run :
69
+ command : |
70
+ python -m venv ~/.venv
68
71
. ~/.venv/bin/activate
69
72
poetry install
70
73
- run :
Original file line number Diff line number Diff line change 20
20
rm -rf build
21
21
22
22
fmt :
23
- isort -rc .
23
+ isort .
24
24
black .
25
25
26
26
lint :
You can’t perform that action at this time.
0 commit comments