-
Notifications
You must be signed in to change notification settings - Fork 9
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
Initial ComStock CI #90
Conversation
Link to the real script of ci: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few comments, but not much, looks good to me.
@@ -38,6 +38,7 @@ | |||
|
|||
require 'openstudio' | |||
require 'openstudio/measure/ShowRunnerOutput' | |||
require_relative '../../../../test/helpers/minitest_helper' | |||
require 'fileutils' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is missing require 'minitest/autorun'
, which is in the other measure test files. I think since minitest_helper.rb contains require 'minitest/autorun'
it should be fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I set all the test related library imported and configurations in the minitest_helper to keep it simper.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comment to remove some comments
@asparke2 Great! Let me clean them up! Thanks for your time! |
Setup ruby measure tests and jenkins file.
c524231
to
830378d
Compare
the recent changes I made in my pull request. I conducted tests involving path changes and Jenkins cooperation, and the results can be reviewed in the commit here on a temporary branch (which will be removed once approved). You can check the detailed Jenkins pipeline execution and results here. Notably, the Ruby tests are now being read correctly. Thanks, |
It doesn't seem like the PR status indicators on GitHub (below) match the status indicators shown on Jenkins:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The workflow status indicators on Jenkins still don't match what is shown on GitHub, I think that needs to be fixed before merging.
@wenyikuang add checkbox to GitHub PR template to add measure test to test list .txt file |
@@ -0,0 +1,9 @@ | |||
#!/usr/bin/groovy | |||
|
|||
@Library('cbci_shared_libs@develop') _ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep it as develop for now, once we are getting used to it remove the @develop branch tag.
Initial the measure test from ruby.
call the cbci_shared_libs's building_comstock_all when the PR is merged.
Pull Request Author
This pull request makes changes to (select all the apply):
Author pull request checklist:
comstock_column_definitions.csv
options_lookup.tsv
files updated.yml
filesREADME.md
filesReview Checklist
This will not be exhaustively relevant to every PR.
ComStock Licensing Language - Add to Beginning of Each Code File
TODO: