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

pip install pytest-circleci-parallelized

Contributing

Contributors welcome! Tests can be run with [pytest][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.

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

pytest-circleci-parallelized-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for pytest-circleci-parallelized-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7d5923a78d61272bb665fafa3708044b38a946c767ee8ef342ce087289edff92
MD5 2f0becabe178d2da50f3d2ca48e16627
BLAKE2b-256 1bb3596beb8d2f697d181caa16eb8c316c140842816d9861afa6d9e6acedaa47

See more details on using hashes here.

Supported by

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