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

Ignore causalpy/tests/ when running doctest to save a little time #280

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

jpreszler
Copy link
Contributor

Ignore causalpy/tests/ when running doctest to save a little time. Resolves issue #278.

This cuts out the tests from being run twice, and doesn't doctest the docstrings in the tests - but none of them have examples so the doctests weren't doing much.

Locally, this went from 4m 50s to 3m 20s, so ~40% reduction in time.

@drbenvincent
Copy link
Collaborator

Thanks @jpreszler, this looks great. The tests and doctests work for me locally. @ricardoV94 do you think we can get away with merging this despite the failing remote test, which I believe is being caused by the issue (#279) we discussed the other day?

@drbenvincent drbenvincent added the devops DevOps related label Dec 22, 2023
Copy link

codecov bot commented Dec 22, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (83cb28c) 75.86% compared to head (b747906) 75.86%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #280   +/-   ##
=======================================
  Coverage   75.86%   75.86%           
=======================================
  Files          20       20           
  Lines        1305     1305           
=======================================
  Hits          990      990           
  Misses        315      315           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@drbenvincent
Copy link
Collaborator

Remote tests seem to pass now that pymc-devs/pytensor#550 is addressed in pytensor 2.18.4

@drbenvincent drbenvincent merged commit c17fcf2 into pymc-labs:main Dec 22, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops DevOps related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants