A tool for estimating the future energy use, carbon emissions, and capital and operating cost impacts of energy efficiency and demand flexibility technologies in the U.S. residential and commercial building sectors.
Add integration testing as part of the standard CI runs. This PR adds a script to run the full Scout workflow (ecm_prep.py and run.py) and runs it on a self-hosted EC2 runner as a CI job. Integration tests are only run if the branch is on a PR and the base branch is master.
Summary of updates:
Add compressed versions of all com and res savings shapes files to allow for testing
Integration testing using all of the ECMs + packages on the repo
Currently requests on-demand instances, there may be potential to use spot-instances in the future which are about ~40% cheaper than on-demand for a r5a.4xlarge instance
Add integration testing as part of the standard CI runs. This PR adds a script to run the full Scout workflow (ecm_prep.py and run.py) and runs it on a self-hosted EC2 runner as a CI job. Integration tests are only run if the branch is on a PR and the base branch is
master
.Summary of updates:
agg_results.json
andecm_results.json
to easily see changes with new PRs (demonstrated in https://github.com/trynthink/scout/pull/296)tests/integration_testing
containing:results/agg_results.json
andresults/ecm_results.json
: the latest results of the integration test which are automatically updated if any changes occurrun_workflow.py
: runs ecm_prep.py and run.py; this file will enable easier implementation of the profiler (https://github.com/trynthink/scout/pull/303)Demonstration of results changed in agg_results.json: https://github.com/trynthink/scout/pull/296 Demonstration of no changes to results: https://github.com/trynthink/scout/pull/329