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

DM-43509: Replace daf.base.DateTime with astropy Time #47

Merged
merged 5 commits into from Mar 28, 2024

Conversation

andy-slac
Copy link
Collaborator

This removes dependency on daf_base which should allow adding GA
for building and testing this package.

This removes dependency on daf_base which should allow adding GA
for building and testing this package.
I forgot about Cassndra when reviewed DM-43270 (and Cassandra tests
are only run manually). Adding the same check as for SQL backend.
Copy link

codecov bot commented Mar 26, 2024

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

Copy link
Contributor

@parejkoj parejkoj 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 a bit concerned by the codecov lines saying the cassandra code isn't covered by tests. Could we lift much of the time handling (and maybe some other generic code) from the Cassandra and Sql implementations of Apdb and put them in some methods on the base class to improve test-ability?

Otherwise, this looks fine.

@andy-slac
Copy link
Collaborator Author

Cassandra tests do not run in GA (they need Cassandra instance and I could not find an easy way yet to spin up something in github). I do run tests manually against the Cassandra cluster when I develop at my private server, so all regular tests are executed from time to time.

The code wants some refactoring, I hope I can spend some time on that after DM-43414, that would be a good opportunity to make more things shared between implementations.

@andy-slac andy-slac merged commit eb67518 into main Mar 28, 2024
10 checks passed
@andy-slac andy-slac deleted the tickets/DM-43509 branch March 28, 2024 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants