Sha256: f70179c6b0fda3e6147908d586265ba9f6dc37a75fa7e3862dc117e6de9eddce

Contents?: true

Size: 1.14 KB

Versions: 1

Compression:

Stored size: 1.14 KB

Contents

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 }}

jobs:
  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.7.0
    steps:
      - uses: actions/checkout@v4
      - name: Update gems
        run: bundle update
      - name: Run Rspec
        run: bundle exec rspec
      - name: Coveralls
        # coveralls action docs: https://github.com/marketplace/actions/coveralls-github-action
        uses: coverallsapp/github-action@v2
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          path-to-lcov: "./coverage/lcov/urbanopt-scenario-gem.lcov"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
urbanopt-scenario-0.11.0 .github/workflows/nightly_ci_build.yml