Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update tests #197

Merged
merged 1 commit into from Mar 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 12 additions & 9 deletions .circleci/config.yml
Expand Up @@ -3,8 +3,8 @@ jobs:
build:
working_directory: ~/circleci
docker:
- image: circleci/python:3.8.6
- image: circleci/postgres:13
- image: cimg/python:3.10
- image: cimg/postgres:14.1
environment:
POSTGRES_USER: circleci
POSTGRES_DB: circleci
Expand All @@ -25,13 +25,13 @@ jobs:
- run:
name: Install poetry
command: |
sudo pip3 install poetry>=1.0.0
python --version
python -m pip install -U pip setuptools poetry
poetry config virtualenvs.create false
- run:
command: |
python3 -m venv ~/.venv
python -m venv ~/.venv
. ~/.venv/bin/activate

poetry install
- save_cache:
key: deps1-{{ .Branch }}-{{ checksum "pyproject.toml" }}
Expand All @@ -53,18 +53,21 @@ jobs:
publish:
working_directory: ~/circleci
docker:
- image: circleci/python:3.8.6
- image: cimg/python:3.10
steps:
- setup_remote_docker
- checkout
- restore_cache:
key: deps1-{{ .Branch }}-{{ checksum "pyproject.toml" }}
- run:
name: Install poetry, deps
name: Install poetry
command: |
sudo pip3 install poetry>=1.0.0
python --version
python -m pip install -U pip setuptools poetry
poetry config virtualenvs.create false
python3 -m venv ~/.venv
- run:
command: |
python -m venv ~/.venv
. ~/.venv/bin/activate
poetry install
- run:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -20,7 +20,7 @@ clean:
rm -rf build

fmt:
isort -rc .
isort .
black .

lint:
Expand Down