Skip to main content

pytest-gitlabci-parallelized

PyPI version Python versions

Parallelize pytest across GitLab CI workers.

This pytest plugin is inspired and based on pytest-circleci-parallelized.


Features

Leverage the builtin parallelism of GitLab CI to run your test suites. Call pytest with the CI_NODE_INDEX and CI_NODE_TOTAL environment variables set or use the --ci-node-index and --ci-node-total switches to split tests amongst nodes.

Read more about the GitLab CI parallel test splitting here.

# .gitlab-ci.yml

tests:
  stage: test
  script: pytest
  parallel: 5

Installation

You can install "pytest-gitlabci-parallelized" via pip from PyPI.

pip install pytest-gitlabci-parallelized

Contributing

Contributors welcome! Tests can be run with pytest.

License

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

Issues

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

Release files for pytest-gitlabci-parallelized 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-gitlabci-parallelized 0.1.4
File Size Uploaded
pytest-gitlabci-parallelized-0.1.4.tar.gz 3.9 kB Details

Release files / pytest-gitlabci-parallelized-0.1.4.tar.gz

Download URL pytest-gitlabci-parallelized-0.1.4.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
48f5785085b413a39ac37cf895c8a687d6aaf5315a45e13ec57c30ca4c0715c4
BLAKE2b-256 checksum
How to use checksums
9c08492dd7b78e0aff9e3aa983ac2ff20c8c623f88d3d17682330bd12eb70470
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page