Parallelize pytest across CircleCI workers.
Project description
# pytest-circleci-parallelized
[![PyPI version](https://img.shields.io/pypi/v/pytest-circleci-parallelized.svg)](https://pypi.org/project/pytest-circleci-parallelized) [![Python versions](https://img.shields.io/pypi/pyversions/pytest-circleci-parallelized.svg)](https://pypi.org/project/pytest-circleci-parallelized) [![CircleCI build status](https://circleci.com/gh/ryanwilsonperkin/pytest-circleci-parallelized.svg?style=svg)](https://circleci.com/gh/ryanwilsonperkin/pytest-circleci-parallelized)
Parallelize pytest across CircleCI workers.
---
## Features
Leverage the builtin parallelism of CircleCI to run your test suites. Call `pytest` with the `--circleci-parallelize` flag to automatically split tests amongst nodes using the `circleci tests split` utility.
Read more about CircleCI test splitting [here][circleci-test-splitting].
```yaml
# .circleci/config.yml
version: 2
jobs:
test:
docker:
- image: circleci/python:3
parallelism: 10
steps:
- checkout
- run: pytest --circleci-parallelize
workflows:
version: 2
test:
jobs:
- test
```
## Installation
You can install "pytest-circleci-parallelized" via pip from [PyPI][pypi].
```sh
pip install pytest-circleci-parallelized
```
## Contributing
Contributors welcome! Tests can be run with [`tox`][tox]
## License
Distributed under the terms of the [MIT](/LICENSE) license, `pytest-circleci-parallelized` is free and open source software.
## Issues
If you encounter any problems, please [file an issue](new-issue) along with a detailed description.
[tox]: https://tox.readthedocs.io/en/latest/
[pypi]: https://pypi.org/project/pytest-circleci-parallelized/
[new-issue]: https://github.com/ryanwilsonperkin/pytest-circleci-parallelized/issues/new
[circleci-test-splitting]: https://circleci.com/docs/2.0/parallelism-faster-jobs/
[![PyPI version](https://img.shields.io/pypi/v/pytest-circleci-parallelized.svg)](https://pypi.org/project/pytest-circleci-parallelized) [![Python versions](https://img.shields.io/pypi/pyversions/pytest-circleci-parallelized.svg)](https://pypi.org/project/pytest-circleci-parallelized) [![CircleCI build status](https://circleci.com/gh/ryanwilsonperkin/pytest-circleci-parallelized.svg?style=svg)](https://circleci.com/gh/ryanwilsonperkin/pytest-circleci-parallelized)
Parallelize pytest across CircleCI workers.
---
## Features
Leverage the builtin parallelism of CircleCI to run your test suites. Call `pytest` with the `--circleci-parallelize` flag to automatically split tests amongst nodes using the `circleci tests split` utility.
Read more about CircleCI test splitting [here][circleci-test-splitting].
```yaml
# .circleci/config.yml
version: 2
jobs:
test:
docker:
- image: circleci/python:3
parallelism: 10
steps:
- checkout
- run: pytest --circleci-parallelize
workflows:
version: 2
test:
jobs:
- test
```
## Installation
You can install "pytest-circleci-parallelized" via pip from [PyPI][pypi].
```sh
pip install pytest-circleci-parallelized
```
## Contributing
Contributors welcome! Tests can be run with [`tox`][tox]
## License
Distributed under the terms of the [MIT](/LICENSE) license, `pytest-circleci-parallelized` is free and open source software.
## Issues
If you encounter any problems, please [file an issue](new-issue) along with a detailed description.
[tox]: https://tox.readthedocs.io/en/latest/
[pypi]: https://pypi.org/project/pytest-circleci-parallelized/
[new-issue]: https://github.com/ryanwilsonperkin/pytest-circleci-parallelized/issues/new
[circleci-test-splitting]: https://circleci.com/docs/2.0/parallelism-faster-jobs/
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for pytest-circleci-parallelized-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9df549ce561a702f11e0c0149216753d562c396679cc97be0489c9bb2237da34 |
|
MD5 | 26485e5fd548b7f33f2caa561051ba0b |
|
BLAKE2b-256 | 23797d1eeb88deaea397271f56ebccbb336f455d727a65cb65d7c913913ba4ab |