pytest-circleci-parallelized

Parallelize pytest across CircleCI workers.


License
MIT
Install
pip install pytest-circleci-parallelized==0.0.2

Documentation

pytest-circleci-parallelized

PyPI version Python versions CircleCI build status

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/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.

pip install pytest-circleci-parallelized

Contributing

Contributors welcome! Tests can be run with pytest

License

Distributed under the terms of the MIT license, pytest-circleci-parallelized is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.