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

inter-repository automated testing #85

Open
eagmon opened this issue Jun 22, 2021 · 1 comment
Open

inter-repository automated testing #85

eagmon opened this issue Jun 22, 2021 · 1 comment

Comments

@eagmon
Copy link
Member

eagmon commented Jun 22, 2021

When vivarium-core updates, it has the potential to break many other vivarium projects. Because of this, it would be useful to implement automated testing that can check other repos before making changes to vivarium-core. Here is a link to some useful discussion about how this could be done: https://blog.marcnuri.com/triggering-github-actions-across-different-repositories/

@U8NWXD
Copy link
Member

U8NWXD commented Oct 29, 2021

One alternative approach would be to treat Vivarium Core as a library that those other repositories depend on, just like Numpy is a library we depend on. Numpy doesn't incorporate our tests into their testing workflow; instead, they precisely define their API and then write tests to make sure that API works. If we were to adopt a similar strategy, we would focus on making sure our API is clear and rigorously tested. That way, we could avoid breaking any other code that uses Vivarium, even if that code's tests aren't available to us

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

No branches or pull requests

2 participants