tuva-health / tuva

Main repo including core data model, data marts, reference data, terminology, and the clinical concept library
https://thetuvaproject.com/
172 stars 41 forks source link

Add tests for empty seeds #490

Closed tuvaforrest closed 2 months ago

tuvaforrest commented 2 months ago

Describe your changes

Added a tests to look at any seeds that were added and to throw a warning (default behavior) or error (if var error_empty_seeds = true) if any seeds are empty on run end.

new function is part of the tuva project, gets executed on run end with warning, and ci testing is configured to error

How has this been tested?

run locally, ci testing

Reviewer focus

Checklist before requesting a review

Package release checklist

(Optional) Gif of how this PR makes you feel

(catching errors)

Loom link

https://www.loom.com/share/021325c90ddf43f881df64410df600ee