-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into geothermal_loop_baseline
- Loading branch information
Showing
636 changed files
with
151,252 additions
and
94,808 deletions.
There are no files selected for viewing
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ jobs: | |
with: | ||
path: resources | ||
name: options_lookup | ||
|
||
- name: Run integrity checks for all projects | ||
run: | | ||
bundle exec rake unit_tests:project_integrity_checks | ||
|
@@ -73,7 +73,7 @@ jobs: | |
|
||
analysis-tests: | ||
runs-on: ubuntu-latest | ||
needs: [format-files] | ||
needs: [unit-tests] | ||
container: | ||
image: docker://nrel/openstudio:3.6.1 | ||
steps: | ||
|
@@ -84,17 +84,39 @@ jobs: | |
- name: Install gems | ||
run: | | ||
rm -f Gemfile.lock && bundle install | ||
- name: Install python | ||
shell: bash | ||
run: | | ||
export DEBIAN_FRONTEND=noninteractive | ||
sudo apt update | ||
sudo -E apt-get install -y python3-pip | ||
- name: Install python dependencies | ||
run : | | ||
python3 -m pip install --progress-bar off --upgrade pip | ||
pip3 install --progress-bar off pandas pyyaml | ||
- name: Download formatted options_lookup | ||
uses: actions/download-artifact@v3 | ||
with: | ||
path: resources | ||
name: options_lookup | ||
|
||
- name: Generate precomputed buildstocks | ||
run: | | ||
python3 test/update_yml_precomputed_files.py | ||
- name: Run run_analysis.rb | ||
run: | | ||
bundle exec rake workflow:analysis_tests | ||
- name: Upload precomputed buildstocks | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
path: test/tests_yml_files/yml_precomputed*/buildstock*.csv | ||
name: precomputed_buildstocks | ||
|
||
- name: Upload run_analysis.rb results | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
|
@@ -107,7 +129,7 @@ jobs: | |
|
||
integration-tests: | ||
runs-on: ubuntu-latest | ||
needs: [format-files] | ||
needs: [unit-tests] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
|
@@ -153,7 +175,6 @@ jobs: | |
- name: Process results | ||
run: | | ||
pip install plotly | ||
python test/process_bsb_analysis.py | ||
- name: Run tests | ||
|
@@ -322,6 +343,25 @@ jobs: | |
path: resources | ||
name: options_lookup | ||
|
||
- name: Download precomputed buildstocks | ||
uses: actions/download-artifact@v3 | ||
with: | ||
path: test/tests_yml_files | ||
name: precomputed_buildstocks | ||
|
||
- name: Build documentation | ||
run: | | ||
ruby docs/read_the_docs/source/workflow_inputs/create_characteristics_rst.rb | ||
ruby docs/read_the_docs/source/workflow_outputs/csv_tables.rb | ||
cd docs/read_the_docs | ||
make html SPHINXOPTS="-W --keep-going -n" | ||
- name: Save Docs | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: documentation | ||
path: docs/read_the_docs/_build/html/ | ||
|
||
- name: Commit latest results | ||
shell: bash | ||
run: | | ||
|
@@ -335,6 +375,7 @@ jobs: | |
git add test/base_results | ||
git add docs | ||
git add resources/options_lookup.tsv | ||
git add test/tests_yml_files | ||
git status | ||
if [[ $(git diff --cached --exit-code) ]]; then | ||
git config --global user.email "[email protected]" | ||
|
@@ -343,16 +384,3 @@ jobs: | |
echo "Pushing to branch: $branch_name" | ||
git push -u origin $branch_name | ||
fi | ||
- name: Build documentation | ||
run: | | ||
ruby docs/read_the_docs/source/workflow_inputs/create_characteristics_rst.rb | ||
ruby docs/read_the_docs/source/workflow_outputs/csv_tables.rb | ||
cd docs/read_the_docs | ||
make html SPHINXOPTS="-W --keep-going -n" | ||
- name: Save Docs | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: documentation | ||
path: docs/read_the_docs/_build/html/ |
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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sphinx-rtd-theme |
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
Oops, something went wrong.