Skip to content

Commit

Permalink
Merge pull request #769 from NREL/fix_release_zip
Browse files Browse the repository at this point in the history
Fix release zip
  • Loading branch information
shorowit authored Feb 8, 2025
2 parents 7bf2b76 + a831173 commit 57221a1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
require 'minitest/autorun'
require 'minitest/reporters'
require 'minitest/reporters/spec_reporter' # Needed when run via OS CLI
Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new unless ENV['RM_INFO'] # spec-like progress
Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new unless ENV['RM_INFO'] # spec-like progress
1 change: 1 addition & 0 deletions tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2837,6 +2837,7 @@ def display_usage(command_list)
'hpxml-measures/HPXMLtoOpenStudio/resources/**/*.*',
'hpxml-measures/ReportSimulationOutput/measure.*',
'hpxml-measures/ReportSimulationOutput/resources/**/*.*',
'hpxml-measures/workflow/tests/util.rb',
'rulesets/**/*.*',
'weather/*.*',
'workflow/*.*',
Expand Down
5 changes: 5 additions & 0 deletions workflow/tests/workflow_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,11 @@ def test_release_zips
system(command)
assert(File.exist? 'OpenStudio-ERI/workflow/results/ERI_Results.csv')

# Test RESNET HERS tests
command = "\"#{OpenStudio.getOpenStudioCLI}\" OpenStudio-ERI/workflow/tests/resnet_hers_test.rb --name=test_resnet_hers_method"
system(command)
assert(File.exist? 'OpenStudio-ERI/workflow/tests/test_results/RESNET_Test_4.3_HERS_Method.csv')

File.delete(zip_path)
rm_path('OpenStudio-ERI')
end
Expand Down

0 comments on commit 57221a1

Please sign in to comment.