openstudio-analysis 1.3.6 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41d76f2c628fc69a0ed1cad8e54830e54dc11c4423baef6bf541333f285d87ba
4
- data.tar.gz: 51b9c50cd6ae845ea4995ed152164e9c01d16ea96b0a32972f21bf08bbcf4abd
3
+ metadata.gz: b3a924d83d69de21676bcf3231cfb4dd1490bac543775d19ff2681b95c7c6629
4
+ data.tar.gz: b026ed470a103fd7211ecab29412b89fcbfef76dee7af2d21f5ccf66c431dbce
5
5
  SHA512:
6
- metadata.gz: 74614d2b7fe2ed8b68d41ed9c3f886239c502a0b1f872abd6b572684afbedf085f6cb572b083577623aac734fcaa85463233caca5480cc74aea781ac2aa49fe4
7
- data.tar.gz: abaf7b8ed7cd54cdc1511f7a9d936523560d39b3626a022d1536e68990a27965aa8a14b0ba1a53b29aa4edde9d1d963fe451f3c2b9295e2b0bac728c15f123c4
6
+ metadata.gz: 86df02da3bf13f5c2a7eabadae7f3b6fd6535895e1248701821a70ad33dbfd785421997bab1068771b9b813bdaa58adc083ad6a4d8a14c1bd60f92c75293fb1f
7
+ data.tar.gz: e21fd89b4861d5de4e96b1bef9be796a8555ba174d2bbfd6ac48d900ee37f489a5b75f69873ce31fa07210400c64f0429f03d1f93e1c6e36779df7c91bf724ae
@@ -1,40 +1,65 @@
1
- name: openstudio-analysis-gem
2
-
3
- on: [push, pull_request]
4
-
5
- jobs:
6
- ubuntu-1804: # ruby 2.5 workflow
7
- if: github.event.pull_request.base.ref == '1.1.X-LTS' # check target branch of pr
8
- runs-on: ubuntu-18.04
9
- steps:
10
- - name: Check out repository
11
- uses: actions/checkout@v2
12
- - name: ruby-install
13
- shell: bash
14
- run: "sudo apt install -y ruby && ruby -v" # ruby anye tests here when ready
15
- ubuntu-2004: # ruby 2.7 workflow
16
- if: github.event.pull_request.base.ref != '1.1.X-LTS' # check target branch of pr
17
- runs-on: ubuntu-20.04
18
- steps:
19
- -
20
- name: Check out repository
21
- uses: actions/checkout@v2
22
- -
23
- name: Display system info
24
- run: |
25
- ruby --version
26
- docker --version
27
- docker-compose --version
28
- -
29
- name: Start OpenStudio for testing Server API
30
- run: |
31
- echo "Not yet implemented"
32
- -
33
- name: Run tests in Docker
34
- env:
35
- COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
36
- run: |
37
- docker run -e COVERALLS_REPO_TOKEN=${COVERALLS_REPO_TOKEN} \
38
- -v $(pwd):/var/simdata/openstudio \
39
- nrel/openstudio:develop \
40
- /bin/bash -c "bundle install && bundle exec rake"
1
+ name: openstudio-analysis-gem
2
+
3
+ on: [push, pull_request]
4
+
5
+ jobs:
6
+ ubuntu-1804: # ruby 2.5 workflow
7
+ if: github.event.pull_request.base.ref == '1.1.X-LTS' # check target branch of pr
8
+ runs-on: ubuntu-18.04
9
+ steps:
10
+ - name: Check out repository
11
+ uses: actions/checkout@v4
12
+ - name: ruby-install
13
+ shell: bash
14
+ run: "sudo apt install -y ruby && ruby -v" # ruby anye tests here when ready
15
+ ubuntu-2004: # ruby 2.7 workflow
16
+ if: github.event.pull_request.base.ref == '1.3.X-LTS' # check target branch of pr
17
+ runs-on: ubuntu-20.04
18
+ steps:
19
+ -
20
+ name: Check out repository
21
+ uses: actions/checkout@v4
22
+ -
23
+ name: Display system info
24
+ run: |
25
+ ruby --version
26
+ docker --version
27
+ docker-compose --version
28
+ -
29
+ name: Start OpenStudio for testing Server API
30
+ run: |
31
+ echo "Not yet implemented"
32
+ -
33
+ name: Run tests in Docker
34
+ env:
35
+ COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
36
+ run: |
37
+ docker run -e COVERALLS_REPO_TOKEN=${COVERALLS_REPO_TOKEN} \
38
+ -v $(pwd):/var/simdata/openstudio \
39
+ nrel/openstudio:3.7.0 \
40
+ /bin/bash -c "bundle install && bundle exec rake"
41
+ ubuntu-2204: # ruby 3.2 workflow in 22.04
42
+ runs-on: ubuntu-22.04
43
+ steps:
44
+ - name: Check out repository
45
+ uses: actions/checkout@v4
46
+ - name: Install Ruby
47
+ uses: ruby/setup-ruby@v1
48
+ with:
49
+ ruby-version: '3.2'
50
+ - name: Display system info
51
+ run: |
52
+ ruby --version
53
+ docker --version
54
+ docker-compose --version
55
+ - name: Start OpenStudio for testing Server API
56
+ run: |
57
+ echo "Not yet implemented"
58
+ - name: Run tests in Docker
59
+ env:
60
+ COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
61
+ run: |
62
+ docker run -e COVERALLS_REPO_TOKEN=${COVERALLS_REPO_TOKEN} \
63
+ -v $(pwd):/var/simdata/openstudio \
64
+ nrel/openstudio:develop \
65
+ /bin/bash -c "bundle install && bundle exec rake"
data/.gitignore CHANGED
@@ -1,21 +1,21 @@
1
- .DS_Store
2
- .bundle
3
- .idea
4
- .ruby-version
5
- *.swp
6
- *.gem
7
- ~$*
8
- .rubocop-http*
9
- tmp/*
10
- .yardoc
11
- doc/
12
- Gemfile.lock
13
- /spec/files/analysis/*.zip
14
- /spec/files/export
15
- /spec/reports
16
- /spec/files/analysis/*.json
17
- /*.log
18
- spec/files/measures/ActualMeasureNoJson/measure.json
19
- rubocop-results.xml
20
- coverage
21
- /gems
1
+ .DS_Store
2
+ .bundle
3
+ .idea
4
+ .ruby-version
5
+ *.swp
6
+ *.gem
7
+ ~$*
8
+ .rubocop-http*
9
+ tmp/*
10
+ .yardoc
11
+ doc/
12
+ Gemfile.lock
13
+ /spec/files/analysis/*.zip
14
+ /spec/files/export
15
+ /spec/reports
16
+ /spec/files/analysis/*.json
17
+ /*.log
18
+ spec/files/measures/ActualMeasureNoJson/measure.json
19
+ rubocop-results.xml
20
+ coverage
21
+ /gems
data/.rubocop.yml CHANGED
@@ -1,9 +1,9 @@
1
- AllCops:
2
- Exclude:
3
- - 'spec/files/measures/**/*'
4
- - 'spec/files/measures_second_path/**/*'
5
- - 'spec/files/worker_init/*'
6
- - 'update_license.rb'
7
-
8
- inherit_from:
9
- - http://s3.amazonaws.com/openstudio-resources/styles/rubocop_v3.yml
1
+ AllCops:
2
+ Exclude:
3
+ - 'spec/files/measures/**/*'
4
+ - 'spec/files/measures_second_path/**/*'
5
+ - 'spec/files/worker_init/*'
6
+ - 'update_license.rb'
7
+
8
+ inherit_from:
9
+ - http://s3.amazonaws.com/openstudio-resources/styles/rubocop_v3.yml