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

Sheshuk/use test labels #292

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

Sheshuk/use test labels #292

wants to merge 3 commits into from

Conversation

Sheshuk
Copy link
Contributor

@Sheshuk Sheshuk commented Nov 24, 2023

Closes #256

Run the tests only if the given label is present.
Labels are:
SNOwGLoBES, ModelsRegistry, SupernovaModel - to test separate parts of the package.
Adding label test:All forces a run of all existing tests (remove and add label again to repeat).

Note:
Probably we should revise our tests. For example we don't need to run the tests on ALL models. I've introduced pytest.mark.base for testing basic functionality, so maybe we can mark couple of lightweight models as base.

Also still a lot of time is taken by downloading the SNEWPY in the first place, so I think we need to remove the model files from this repository.

@Sheshuk Sheshuk added the SNOwGLoBES Related to SNOwGLoBES label Nov 24, 2023
@Sheshuk Sheshuk added ModelRegistry Connected to the registry of models test:All run all tests on this PR SupernovaModel Implementing/correcting supernova model and removed ModelRegistry Connected to the registry of models labels Nov 24, 2023
@Sheshuk Sheshuk marked this pull request as ready for review November 24, 2023 15:50
@Sheshuk Sheshuk self-assigned this Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ModelRegistry Connected to the registry of models SNOwGLoBES Related to SNOwGLoBES SupernovaModel Implementing/correcting supernova model test:All run all tests on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test suites for the PR labels?
1 participant