CDCgov / cfa-abc-calibration

Apache License 2.0
1 stars 0 forks source link

Create test_toy_model.yaml #12

Closed KOVALW closed 1 month ago

KOVALW commented 1 month ago

Overview

The ABCtools package currently has no testing to ensure changes do not impact package performance. We require at least one verification test that automatically verifies a simple calibration still works

Changes

The PR introduces a single workflow test_toy_model.yaml that install poetry, uses the poetry instance to set up the python environment and cache the dependencies, and then run a test pipeline that uses the toy SIR model in the main package. Briefly, the test asserts that the results of ABC-SMC calibration were written correctly

Requests

This PR should be approved despite pre-commit test failure if test_toy_model returns a success. Changes suggested by pre-commit will have to be made after this workflow is used to ensure the changes still allow code to function