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

Change tests included in arviz_compat workflow #5472

Merged
merged 1 commit into from
Feb 15, 2022

Conversation

ricardoV94
Copy link
Member

@ricardoV94 ricardoV94 commented Feb 15, 2022

The macOS machines in Github actions seem incredibly slow (see #5410), so I am proposing to remove the computationally heavier tests in favor of something more integration-like (which should also be more relevant for the "arviz_compat" part).

Currently this is a draft to check what the new Runtime might look like.


Chose a set of tests that are more related to sampling + arviz, while dropping the slow test_distributions and test_distributions_random that have nothing to do with arviz

Closes #5410

@codecov
Copy link

codecov bot commented Feb 15, 2022

Codecov Report

Merging #5472 (d4958ae) into main (d018cba) will increase coverage by 0.09%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5472      +/-   ##
==========================================
+ Coverage   81.39%   81.49%   +0.09%     
==========================================
  Files          82       82              
  Lines       14218    14218              
==========================================
+ Hits        11573    11587      +14     
+ Misses       2645     2631      -14     
Impacted Files Coverage Δ
pymc/distributions/continuous.py 97.23% <0.00%> (+0.29%) ⬆️
pymc/sampling.py 86.77% <0.00%> (+0.70%) ⬆️
pymc/parallel_sampling.py 87.70% <0.00%> (+0.99%) ⬆️
pymc/step_methods/elliptical_slice.py 66.66% <0.00%> (+4.76%) ⬆️

Chose a set of tests that are more related to sampling + arviz, while dropping the slow test_distributions and test_distributions_random that have nothing to do with arviz
@ricardoV94 ricardoV94 force-pushed the change_arviz_compat_tests branch from ac5695e to d4958ae Compare February 15, 2022 14:18
@ricardoV94
Copy link
Member Author

ricardoV94 commented Feb 15, 2022

Runtime is now below 25 minutes for the slowest arviz_compat workflow, down from the previous ~50 minutes. If people are happy with the included tests we can merge

@ricardoV94 ricardoV94 marked this pull request as ready for review February 15, 2022 16:04
@ricardoV94 ricardoV94 merged commit e018309 into pymc-devs:main Feb 15, 2022
@ricardoV94 ricardoV94 deleted the change_arviz_compat_tests branch February 22, 2022 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider removing test_distributions.py from arviz-compatibility workflow
2 participants