Skip to main content

Parallelize pytest across CircleCI workers.

Project description

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-rjp" via pip from PyPI.

pip install pytest-circleci-parallelized-rjp

Contributing

Contributors welcome! Tests can be run with tox

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.

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

Built Distribution

File details

Details for the file pytest-circleci-parallelized-rjp-0.1.0.tar.gz.

File metadata

File hashes

Hashes for pytest-circleci-parallelized-rjp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9829df95d9c95b88fb03f463ee273eea610013e35685276f689478623c56ee75
MD5 e06a6710203e223a375480cc0a122cfe
BLAKE2b-256 108138078aa59c46f13ee301ad634022b2ac65d88d06ecbeabf28179de78f954

See more details on using hashes here.

File details

Details for the file pytest_circleci_parallelized_rjp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_circleci_parallelized_rjp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c0f31bc0f6270dcd7a4cc625f70f236c64b0ea8e44aa15b5f1990a9c4d45022
MD5 5a09bae13508d62299d07e07a48f869c
BLAKE2b-256 c259dfb146647be89d87d4d221ebb3f1d7efd83146a3da82229e1491389aee8a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page