version: 2.1
orbs:
python: circleci/python@1.5.0
jobs:
build-and-test: # This is the name of the job, feel free to change it to better match what you’re trying to do!
docker:
- image: cimg/python:3.8.0
steps:
- checkout
- python/install-packages:
pkg-manager: poetry
- run:
name: Run tests
command: python -m pytest
workflows:
sample: # This is the name of the workflow, feel free to change it to better match your workflow.
jobs:
- build-and-test