.github/workflows/nightly_ci_build.yml in urbanopt-scenario-0.10.0 vs .github/workflows/nightly_ci_build.yml in urbanopt-scenario-0.11.0
- old
+ new
@@ -1,14 +1,16 @@
-name: nightly_build
+name: Scenario-gem CI
on:
# push:
schedule:
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
# 5 am UTC (11pm MDT the day before) every weekday night in MDT
- cron: '21 5 * * 2-6'
+ pull_request:
+ types: [review_requested]
env:
# This env var should enforce develop branch of all dependencies
FAVOR_LOCAL_GEMS: true
GEM_DEVELOPER_KEY: ${{ secrets.GEM_DEVELOPER_KEY }}
@@ -17,12 +19,12 @@
weeknight-tests:
# ubuntu-latest works since https://github.com/rbenv/ruby-build/releases/tag/v20220710 (July 10, 2022)
# https://github.com/rbenv/ruby-build/discussions/1940
runs-on: ubuntu-latest
container:
- image: docker://nrel/openstudio:3.6.1
+ image: docker://nrel/openstudio:3.7.0
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Update gems
run: bundle update
- name: Run Rspec
run: bundle exec rspec
- name: Coveralls