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

TST: test wuhan on nightly and push to main #152

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

martinfleis
Copy link
Contributor

Closes #149

this sits on top of #151 to generate the simplified network. Should run only on merge to main, nightly and workflow trigger, never on a PR as it will likely take a bit (7m33s on M1 locally).

@martinfleis
Copy link
Contributor Author

@jGaboardi pls review the current state but do not merge yet. I'll play with it a bit once I merge main to figure out Wuhan.

Copy link

codecov bot commented Dec 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.8%. Comparing base (5fade1e) to head (bbf5dd5).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main    #152     +/-   ##
=======================================
- Coverage   98.8%   98.8%   -0.0%     
=======================================
  Files          6       6             
  Lines       1001    1000      -1     
=======================================
- Hits         989     988      -1     
  Misses        12      12             

see 1 file with indirect coverage changes

.github/workflows/testing.yml Show resolved Hide resolved


@pytest.mark.wuhan
def test_simplify_network_wuhan(aoi="wuhan_8989", tol=0.3, known_length=4_702_861):
Copy link
Collaborator

Choose a reason for hiding this comment

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

My thought here would be to have a single helper that runs the guts of this function + test_simplify_network_full_fua() and is called within each. That could also be adapted for test_simplify_network_small(). But that can wait until another PR for sure (if we decide to do).

@jGaboardi
Copy link
Collaborator

@martinfleis This PR is still in limbo, correct? I merely want to make sure that I am not holding anything up.

@martinfleis
Copy link
Contributor Author

Yeah, it is waiting for me and might be for a while.

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.

add curated Wuhan – 8989?
2 participants