Skip to content

WIP/CI: Clean up to test calls #24106

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

Closed
wants to merge 26 commits into from
Closed

WIP/CI: Clean up to test calls #24106

wants to merge 26 commits into from

Conversation

datapythonista
Copy link
Member

@datapythonista datapythonista commented Dec 5, 2018

DO NOT MERGE: As single tests do not fail in a deterministic way, I'll rerun the CI several times to see that the --dist option is fixing the concurrency problems as expected.

  • Using --dist=loadscope instead of calling pytest twice to not run single tests in parallel
  • Renaming single marker to serial to keep consistency with pytest naming
  • Moving pytest common arguments to setup.cfg so they don't need to be repeated in every call in the CI or in the local environments
  • Removing shorcut scripts to call pytest with the parameters added to setup.cfg
  • Made the run_tests script multiplatform by reimplementing it in Python, so all the calls are the same (which avoids duplicate code, and could allow changing the test locale in Windows)

…d of calling pytest twice, and renaming single to serial to keep consistency with pytest
@datapythonista datapythonista added Testing pandas testing functions or related to the test suite CI Continuous Integration Clean labels Dec 5, 2018
@pep8speaks
Copy link

pep8speaks commented Dec 5, 2018

Hello @datapythonista! Thanks for updating the PR.

Cheers ! There are no PEP8 issues in this Pull Request. 🍻

Comment last updated on December 29, 2018 at 12:35 Hours UTC

@datapythonista datapythonista changed the title WIP/CI: Running single tests in the same process with --dist setting WIP/CI: Clean up to test calls Dec 5, 2018
…be suprisingly slower. Restoing --strict-data-files too
…ce travis vs azure, and single vs multi-core
@WillAyd
Copy link
Member

WillAyd commented Feb 6, 2019

Is this still active?

@datapythonista
Copy link
Member Author

yes, I need to investigate why tests are taking longer in this branch, which is weird, but would be great to have this merged after that, it cleans the CI configuration significantly

@jreback
Copy link
Contributor

jreback commented Mar 20, 2019

closing as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration Clean Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants