This repository is an example on how to test a Python project using Buildkite and pipenv.
Note: this example assumes your Buildkite Agent machine has Python and pipenv already installed. See the Python Docker Example for running your Python project on any agent machine that has only Docker installed.
The pipeline.yml installs your dependencies and runs py.test:
steps:
- label: ":python: Test"
commands:
- pipenv install --deploy --dev
- pipenv run py.test
See Licence.md (MIT)