Commit 5436c55f authored by Stefane Fermigier's avatar Stefane Fermigier

chore: CircleCI config.

parent 8167ceb4
version: 2.1
common: &common
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- v2-deps-{{ .Environment.CIRCLE_JOB }}-{{ checksum "poetry.lock" }}
- run:
name: install dependencies
command: |
pip install --user tox
- run:
name: run tox
command: ~/.local/bin/tox
- save_cache:
paths:
- .tox
- ~/.cache/pip
- ~/.local
- ./eggs
key: v2-deps-{{ .Environment.CIRCLE_JOB }}-{{ checksum "poetry.lock" }}
jobs:
lint:
<<: *common
docker:
- image: circleci/python:3.8
environment:
- TOXENV=lint
py38:
<<: *common
docker:
- image: circleci/python:3.8
environment:
TOXENV=py38
py39:
<<: *common
docker:
- image: circleci/python:3.9
environment:
TOXENV=py39
workflows:
version: 2
test:
jobs:
- lint
- py38
- py39
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment