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

Remove Snakemake tests (and dependency) #1302

Merged
merged 3 commits into from
Sep 20, 2023
Merged

Conversation

victorlin
Copy link
Member

@victorlin victorlin commented Aug 31, 2023

Description of proposed changes

Main motivation is to remove Snakemake from the list of dev dependencies. This will likely cause a drop in test coverage, which can be seen by the codecov coverage report (as a comment on this PR once CI finishes running). However, note that pathogen-repo-ci is not currently factored into those coverage reports.

Related issue(s)

Checklist

  • Checks pass
  • [ ] If making user-facing changes, add a message in CHANGES.md summarizing the changes in this PR

@victorlin victorlin self-assigned this Aug 31, 2023
Copy link
Member

@jameshadfield jameshadfield left a comment

Choose a reason for hiding this comment

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

I'm not concerned about the TB build here being out-of-date cf. the TB repo, the latter should be the correct point of reference.

@codecov
Copy link

codecov bot commented Sep 1, 2023

Codecov Report

Patch has no changes to coverable lines.

📢 Thoughts on this report? Let us know!.

@victorlin
Copy link
Member Author

victorlin commented Sep 1, 2023

@codecov comment above does not tell the full story. No coverable lines were changed directly, but there are definitely coverage drops...

I think the coverage drop in export v1 is fine given it's now deprecated. Not sure about the other ones, I'll have to take a deeper look. Thoughts from anyone?

@jameshadfield
Copy link
Member

jameshadfield commented Sep 20, 2023

I'll have to take a deeper look. Thoughts from anyone?

@victorlin I wouldn't let the numbers codecov reports stop this from being merged - remember it's supposed to be a tool to help us, not prevent progress. As I understand it, the lines flagged here were only tested in the sense that if a fatal error was encountered the (snakemake-based) test would fail, otherwise everything would pass and we'd be none the wiser.

There are a few data files that are referenced by pytests. Move those to
tests/data.

These could be converted to Cram tests, though that would require some
work.

Also, note that the TB build removed here is not the same as the TB
build running in pathogen-repo-ci. I did a quick spot-check and noticed,
at the very least, the latter does not run `augur reconstruct-sequences`
while the former does. That's one less point of test coverage. Maybe it
is covered by other pathogen-repo-ci, but those aren't factored into the
code coverage report.
Previous commits removed usage of Snakemake in this repo.
@victorlin victorlin force-pushed the victorlin/update-testing branch from 78a9741 to 4f0c374 Compare September 20, 2023 18:09
@victorlin victorlin marked this pull request as ready for review September 20, 2023 18:32
@victorlin
Copy link
Member Author

Thanks @jameshadfield, I'll merge this now!

@victorlin victorlin merged commit b4ca57f into master Sep 20, 2023
24 checks passed
@victorlin victorlin deleted the victorlin/update-testing branch September 20, 2023 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Remove Snakemake as a dependency
2 participants