Skip to content

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

License

Notifications You must be signed in to change notification settings

buildkite/python-pipenv-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 installed. 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)

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages