Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallelize tests #811

merged 17 commits into from Nov 15, 2019

Parallelize tests #811

merged 17 commits into from Nov 15, 2019


Copy link

frances-h commented Nov 12, 2019

Use multiple workers to run tests on CI

  • Use 2 workers to run tests, can use more but limited by CircleCI CPUs and memory. Can't use pytest xdist auto number of workers because it runs out of memory.
  • Have all tests use pytest tmpdir or tmp_path_factory instead of hardcoding local paths

After creating the pull request: in order to pass the changelog_updated check you will need to update the "Future Release" section of docs/source/changelog.rst to include this pull request.

frances-h added 16 commits Nov 12, 2019
@frances-h frances-h changed the title [WIP] parallelize tests Parallelize tests Nov 14, 2019
@frances-h frances-h requested a review from rwedge Nov 14, 2019
rwedge approved these changes Nov 15, 2019
Copy link

rwedge left a comment

Looks good

@frances-h frances-h merged commit 91b8943 into master Nov 15, 2019
2 checks passed
2 checks passed
license/cla Contributor License Agreement is signed.
test_all_python_versions Workflow: test_all_python_versions
@frances-h frances-h deleted the run-tests-in-parallel branch Nov 15, 2019
@rwedge rwedge mentioned this pull request Nov 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.