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
merged 17 commits into from Nov 15, 2019
Merged

Parallelize tests #811

merged 17 commits into from Nov 15, 2019

Conversation

frances-h
Copy link
Contributor

@frances-h 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 frances-h changed the title [WIP] parallelize tests Parallelize tests Nov 14, 2019
Copy link
Contributor

@rwedge rwedge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@frances-h frances-h merged commit 91b8943 into master Nov 15, 2019
@frances-h frances-h deleted the run-tests-in-parallel branch November 15, 2019 15:58
@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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants