You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to add some of my thoughts here from my experience with r2dii:
I think that it is important to keep the concepts of unit-testing and CI/CD separate (but related) here. Some type of representative data is useful for all of those use-cases, in different capacities. Below are some thoughts:
so for that use-case, I think it makes sense to have simple mock input data, that highlights particular behaviours, or data that has triggered particular bugs in the past, with clear tests to ensure they don't pop back up (for this use-case, for me, this type of thing has proved hugely useful: https://github.com/RMI-PACTA/r2dii.analysis/blob/main/tests/testthat/helper-fake_data.R)
CI/CD
With CI/CD, we are trying to prove, in an automated way, that the whole ecosystem WORKS
The work @AlexAxthelm has done with GH actions and Azure, running the whole shebang using the REAL azure data, does a frankly awesome job of this, and is probably sufficient there for now (though I'm sure being able to do it also in a public way is useful
If we want to do this using "mock data" (which would then simultaneously serve the purpose of documentation), then I think THAT mock data should live in an external package (e.g. https://github.com/RMI-PACTA/pacta.demo.data) that serves to mock ALL inputs, and that the CI/CD system can easily pick up and run the whole process
No description provided.
The text was updated successfully, but these errors were encountered: