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

156 switch nose to pytest #157

Merged
merged 4 commits into from
Aug 26, 2024
Merged

156 switch nose to pytest #157

merged 4 commits into from
Aug 26, 2024

Conversation

jeremyneveu
Copy link
Collaborator

No description provided.

@jeremyneveu jeremyneveu linked an issue Aug 23, 2024 that may be closed by this pull request
@jeremyneveu jeremyneveu self-assigned this Aug 23, 2024
@coveralls
Copy link

coveralls commented Aug 23, 2024

Pull Request Test Coverage Report for Build 10560951331

Details

  • 5 of 5 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.02%) to 89.961%

Totals Coverage Status
Change from base Build 8687328575: -0.02%
Covered Lines: 7232
Relevant Lines: 8039

💛 - Coveralls

Copy link
Contributor

@timj timj left a comment

Choose a reason for hiding this comment

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

Thanks for looking into this. One question on policy.

setup.cfg Outdated
@@ -1,5 +1,6 @@
[tool:pytest]
exclude=test_(extractor_ctio_planetary_nebula|astrometry|mcmc|multispectra)
# exclude=test_(extractor_ctio_planetary_nebula|astrometry|mcmc|multispectra)
addopts = --ignore=tests/test_astrometry.py --ignore=tests/test_mcmc.py --ignore=tests/test_extractor_ctio_planetary_nebula.py
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are you ignoring broken tests rather than deleting them (or renaming them so pytest doesn't find them)? It looks like we mark test_astrometry.py as broken in our branch and skip it.

Copy link
Collaborator Author

@jeremyneveu jeremyneveu Aug 23, 2024

Choose a reason for hiding this comment

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

Because the test work fine on my laptop but I don't understand why in the github workflow it fails. I still hope to find a solution one day so I don't delete the file...

@jeremyneveu
Copy link
Collaborator Author

I have no more changes to bring to the code. Ready for review @timj

@jeremyneveu jeremyneveu merged commit c0fd560 into master Aug 26, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch nose to pytest
3 participants