/python-pipenv-example

An example of how to run a Python project w/ pipenv in a Buildkite pipeline

Primary LanguagePythonMIT LicenseMIT

Buildkite Python Example (using pipenv)

Add to Buildkite

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 instealled. See the Python Docker Example for running your Python project on any agent machine that has only Docker installed.

How does it work?

The pipeline.yml installs your dependencies and runs py.test:

steps:
  - label: ":python: Test"
    commands:
      - pipenv install --deploy --dev
      - pipenv run py.test

License

See Licence.md (MIT)