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

GHA: allow multi-core testing again #636

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

martinfleis
Copy link
Member

Closes #606

The issue comes from pooch. Multiple workers are trying to download the archive at the same time, corrupting the file in the process. Or second worker is trying to read partially downloaded archive that the first one is still writing. We do avoid this with libpysal.examples by fetching them ahead of the time. We can do the same with geodatasets.

@martinfleis martinfleis self-assigned this Nov 9, 2023
@martinfleis martinfleis added the ci label Nov 9, 2023
Copy link

codecov bot commented Nov 9, 2023

Codecov Report

Merging #636 (46ef776) into main (44204b5) will decrease coverage by 0.6%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##            main    #636     +/-   ##
=======================================
- Coverage   84.5%   83.9%   -0.6%     
=======================================
  Files        139     139             
  Lines      14972   14972             
=======================================
- Hits       12647   12559     -88     
- Misses      2325    2413     +88     

see 2 files with indirect coverage changes

Copy link
Member

@jGaboardi jGaboardi left a comment

Choose a reason for hiding this comment

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

Nice! Great fix.

@martinfleis martinfleis merged commit b7e6a85 into pysal:main Nov 9, 2023
10 checks passed
@martinfleis martinfleis deleted the pytest-xdist branch November 9, 2023 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

workup multi-core testing failures.
2 participants