tardis-sn / tardis

TARDIS - Temperature And Radiative Diffusion In Supernovae
https://tardis-sn.github.io/tardis
201 stars 404 forks source link

Separate Continuum Tests #2699

Closed atharva-2001 closed 1 month ago

atharva-2001 commented 2 months ago

:pencil: Description

Type: | :vertical_traffic_light: testing | :roller_coaster: infrastructure

Made on top of https://github.com/tardis-sn/tardis/pull/2698. Will separate regular and continuum tests into two jobs.

:pushpin: Resources

Examples, notebooks, and links to useful references.

:vertical_traffic_light: Testing

How did you test these changes?

:ballot_box_with_check: Checklist

Note: If you are not allowed to perform any of these actions, ping (@) a contributor.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 36.74%. Comparing base (681bd2b) to head (16672c7). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2699 +/- ## =========================================== - Coverage 68.07% 36.74% -31.34% =========================================== Files 182 182 Lines 14481 14481 =========================================== - Hits 9858 5321 -4537 - Misses 4623 9160 +4537 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

atharva-2001 commented 1 month ago

I will address the osx-arm64-pip-false Expected — Waiting for status to be reported once the PR is merged. I wouldn't want the check to go away from other pull requests until this is merged.

andrewfullard commented 1 month ago

It's odd that the refdata generation tests are taking longer than the regular tests. The codecov errors are also interesting, I guess we need to fix some minor path-related bugs?

atharva-2001 commented 1 month ago

It's odd that the refdata generation tests are taking longer than the regular tests. The codecov errors are also interesting, I guess we need to fix some minor path-related bugs?

I agree, but I don't know why they take so long. The markers are the same in both the tests, when one is disabled it seems to take the same time. When both are disabled it takes longer. In both the tests it says this-

collected 1900 items / 24 deselected / 1876 selected
collected 1900 items / 24 deselected / 1876 selected

Perhaps it the nature? https://github.com/tardis-sn/tardis/actions/runs/9968496268/job/27543877401?pr=2699

They do take slightly longer usually, right? https://github.com/tardis-sn/tardis/actions/runs/9595970972/job/26522577969

The codecov is a separate job entirely now so it runs only once. I think the way the report is generated is the same, the way it is sent to the website is different. I thought fixing the codecov issues would be too much for the pull request, is it alright if I address it in a new one?

atharva-2001 commented 1 month ago

No problem!