https://github.com/buildkite/python-pipenv-example
An example of how to run a Python project w/ pipenv in a Buildkite pipeline
https://github.com/buildkite/python-pipenv-example
buildkite pipeline pipenv python
Last synced: 2 months ago
JSON representation
An example of how to run a Python project w/ pipenv in a Buildkite pipeline
- Host: GitHub
- URL: https://github.com/buildkite/python-pipenv-example
- Owner: buildkite
- License: mit
- Created: 2017-10-28T00:53:22.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2023-10-12T00:13:46.000Z (about 2 years ago)
- Last Synced: 2025-04-30T23:56:16.070Z (6 months ago)
- Topics: buildkite, pipeline, pipenv, python
- Language: Python
- Homepage: https://github.com/buildkite/example-pipelines
- Size: 15.6 KB
- Stars: 15
- Watchers: 24
- Forks: 22
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
- License: License.md
Awesome Lists containing this project
README
# Buildkite Python Example (using pipenv)
[](https://buildkite.com/new)
This repository is an example on how to test a [Python](https://python.org) project using [Buildkite](https://buildkite.com/) and [pipenv](https://github.com/kennethreitz/pipenv).
Note: this example assumes your Buildkite Agent machine has Python and pipenv already installed. See the [Python Docker Example](https://github.com/buildkite/python-docker-example) for running your Python project on any agent machine that has only Docker installed.
## How does it work?
The [pipeline.yml](.buildkite/pipeline.yml) installs your dependencies and runs [py.test](https://github.com/pytest-dev/pytest):
```yml
steps:
- label: ":python: Test"
commands:
- pipenv install --deploy --dev
- pipenv run py.test
```## License
See [Licence.md](Licence.md) (MIT)