-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #535 from NREL/develop
v2.4.0 release
- Loading branch information
Showing
340 changed files
with
745,735 additions
and
552,646 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,98 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: ci | ||
|
||
# Controls when the action will run. | ||
on: [push] | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
container: | ||
image: docker://nrel/openstudio:2.9.0 | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install gems | ||
run: | | ||
rm -f Gemfile.lock && bundle install | ||
- name: Apply rubocop | ||
run: | | ||
rubocop --format simple --only Layout --debug | ||
- name: Update all measures | ||
run: | | ||
rake update_measures | ||
- name: Regenerate test osms | ||
run: | | ||
rake test:regenerate_osms | ||
- name: Run all unit tests | ||
run: | | ||
rake test:unit_tests | ||
- name: Run all regression tests | ||
run: | | ||
rake test:regression_tests | ||
- name: Store example osws | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
path: workflows/results/results.csv | ||
name: example_osws.csv | ||
|
||
- name: Store measures osws | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
path: test/test_measures_osw/results/results.csv | ||
name: measures_osws.csv | ||
|
||
- name: Store buildstock csv | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
path: test/test_measures_osw/buildstock.csv | ||
name: buildstock.csv | ||
|
||
- name: Store schedules | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
path: resources/measures/ResidentialScheduleGenerator/tests/output/test_sweep_building_ids_and_num_occupants | ||
name: schedules | ||
|
||
docs: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
needs: build | ||
strategy: | ||
matrix: | ||
python-version: [3.8.4] | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Build documentation | ||
run: | | ||
cd docs/read_the_docs | ||
pip install -r requirements.txt | ||
make html | ||
- name: Store docs | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
path: docs/read_the_docs/build | ||
name: readthedocs |
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
__title__ = 'ResStock' | ||
__description__ = 'Modeling the existing building stock (residential and commercial) using OpenStudio/EnergyPlus.' | ||
__url__ = 'http://github.com/NREL/resstock' | ||
__version__ = '2.3.0' | ||
__version__ = '2.4.0' | ||
__author__ = 'National Renewable Energy Laboratory' | ||
__license__ = 'BSD-3' | ||
__copyright__ = 'Copyright (c) 2016-2019, Alliance for Sustainable Energy, LLC.' |
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
Oops, something went wrong.