Skip to content

Commit 4a7bd4f

Browse files
authored
update tests (djrobstep#197)
1 parent 01acaf2 commit 4a7bd4f

File tree

6 files changed

+547
-483
lines changed

6 files changed

+547
-483
lines changed

.circleci/config.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ jobs:
33
build:
44
working_directory: ~/circleci
55
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
88
environment:
99
POSTGRES_USER: circleci
1010
POSTGRES_DB: circleci
@@ -25,13 +25,13 @@ jobs:
2525
- run:
2626
name: Install poetry
2727
command: |
28-
sudo pip3 install poetry>=1.0.0
28+
python --version
29+
python -m pip install -U pip setuptools poetry
2930
poetry config virtualenvs.create false
3031
- run:
3132
command: |
32-
python3 -m venv ~/.venv
33+
python -m venv ~/.venv
3334
. ~/.venv/bin/activate
34-
3535
poetry install
3636
- save_cache:
3737
key: deps1-{{ .Branch }}-{{ checksum "pyproject.toml" }}
@@ -53,18 +53,21 @@ jobs:
5353
publish:
5454
working_directory: ~/circleci
5555
docker:
56-
- image: circleci/python:3.8.6
56+
- image: cimg/python:3.10
5757
steps:
5858
- setup_remote_docker
5959
- checkout
6060
- restore_cache:
6161
key: deps1-{{ .Branch }}-{{ checksum "pyproject.toml" }}
6262
- run:
63-
name: Install poetry, deps
63+
name: Install poetry
6464
command: |
65-
sudo pip3 install poetry>=1.0.0
65+
python --version
66+
python -m pip install -U pip setuptools poetry
6667
poetry config virtualenvs.create false
67-
python3 -m venv ~/.venv
68+
- run:
69+
command: |
70+
python -m venv ~/.venv
6871
. ~/.venv/bin/activate
6972
poetry install
7073
- run:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ clean:
2020
rm -rf build
2121

2222
fmt:
23-
isort -rc .
23+
isort .
2424
black .
2525

2626
lint:

0 commit comments

Comments
 (0)