Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
shorowit committed Oct 31, 2024
1 parent 25d02cf commit b21b555
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
run-unit-tests:
runs-on: ubuntu-22.04
container:
image: docker://nrel/openstudio:develop
image: docker://nrel/openstudio:dev-3.9.0-rc1
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
run-workflow1-tests:
runs-on: ubuntu-22.04
container:
image: docker://nrel/openstudio:develop
image: docker://nrel/openstudio:dev-3.9.0-rc1
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -100,7 +100,7 @@ jobs:
run-workflow2-tests:
runs-on: ubuntu-22.04
container:
image: docker://nrel/openstudio:develop
image: docker://nrel/openstudio:dev-3.9.0-rc1
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -120,20 +120,20 @@ jobs:
path: workflow/tests/test_results
name: results-workflow2-tests

# run-windows-tests:
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v4
# with:
# ref: ${{ github.head_ref }}
# - name: Install software and run test
# shell: pwsh
# run: |
# $env:OS_VERSION="3.8.0"
# $env:OS_SHA="f953b6fcaf"
# Invoke-WebRequest -OutFile Windows.tar.gz -URI "https://github.com/NREL/OpenStudio/releases/download/v${env:OS_VERSION}/OpenStudio-${env:OS_VERSION}+${env:OS_SHA}-Windows.tar.gz"
# tar -xzf Windows.tar.gz
# & .\OpenStudio-${env:OS_VERSION}+${env:OS_SHA}-Windows\bin\openstudio.exe workflow\run_simulation.rb -x workflow\sample_files\base.xml --hourly ALL --add-component-loads --add-stochastic-schedules
run-windows-tests:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Install software and run test
shell: pwsh
run: |
$env:OS_VERSION="3.9.0-rc1"
$env:OS_SHA="fb69e5479c"
Invoke-WebRequest -OutFile Windows.tar.gz -URI "https://github.com/NREL/OpenStudio/releases/download/v${env:OS_VERSION}/OpenStudio-${env:OS_VERSION}+${env:OS_SHA}-Windows.tar.gz"
tar -xzf Windows.tar.gz
& .\OpenStudio-${env:OS_VERSION}+${env:OS_SHA}-Windows\bin\openstudio.exe workflow\run_simulation.rb -x workflow\sample_files\base.xml --hourly ALL --add-component-loads --add-stochastic-schedules
merge-results:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit b21b555

Please sign in to comment.