-
Notifications
You must be signed in to change notification settings - Fork 58
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
Add Standard Data Release YAML to GitHub Actions #1329
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This comment was marked as resolved.
This comment was marked as resolved.
afontani
changed the title
Add Standard Data Release YAML to Integration Tests
Add Standard Data Release YAML to GitHub Actions
Jan 6, 2025
Update changelog Add workflow generator version update number of allowable upgrades Add files to .gitignore update input and output directories Update options lookup arguments
rename sdr yaml file Unzip and upload sdr upgrade artifact Add testing for sdr upgrade run with bsb Reduce upgrade datapoints on national and testing upgrades ymls revert data point changes and reduce sdr datapoints. Remove testing and national upgrades Update process_bsb_analysis Updates. test_bsb_analysis passing Fix test_run_analysis Update testing yml_valid Update expected warnings Remove testing_upgrades from gitignore Update buildstock_missing.csv Make sdr tests an upgrade Add the upgrade osw and xml files as requested from SDR Update the package name load only headers for comparison Add commented out production number of data points remove Zone People Occupant Count: Conditioned Space from timeseries contents New tsvs with updated well pump update changelog update tsvs
Increase n_datapoints Fix option name change from well pump PR Typo reduce datapoints
Update test_upgrade_results Update test_upgrade_columns Fix paths Fix number of expected files Fix run_analysis file path Fix missing upgrade results file in run_analysis results Fix missing upgrade results file in run_analysis results, try 2 Add path errors during artifact upload Cleanup Update the expected number of expected results Switch upgrade to one that applies to all units
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Description
This pull request introduces the Standard Data Release (SDR) YAML file into the "develop" branch of ResStock and into GitHub Actions integration-tests. This PR will give contributors on the SDR measures a place to commit changes and aid in completing an end-to-end workflow in CI.
Workflow changes
.github/workflows/config.yml
. Previously was defaulted to "warn" and wasn't catching that a file was missing. This is done by addingif-no-files-found: error
to theactions/upload-artifact@v4
action. Example:resstock/.github/workflows/config.yml
Lines 121 to 126 in 037a9df
Test Modifications
test/test_analysis_tools.rb
: BuildStockBatch sometimes has extra blank columns. This is because of the superset of all columns from all upgrades, not just an individual upgrade. Removing these columns from the test as they are blank.resstock/test/test_analysis_tools.rb
Lines 49 to 54 in 0d7fb07
Area for improved testing
This PR is meant to introduce the SDR project file and do some elementary testing (similar to project national, project testing, and national upgrades). At this point, the tests make sure there is some data and columns. Improving the tests that exist today, building out functional tests, and regression testing are important areas for improvement moving forward. Example: using only 2 datapoints being simulated some upgrades do not get run because the upgrade is invalid for the two units.
Related Pull Requests
None.
Related Issues
Closes #1261 -- "Commit ResStock 2024.2 data release yaml to develop"
Checklist
Required:
Optional (not all items may apply):
openstudio tasks.rb update_measures
has been run