Skip to content

upgrade to latest github checkout #172

upgrade to latest github checkout

upgrade to latest github checkout #172

name: openstudio-analysis-gem
on: [push, pull_request]
jobs:
ubuntu-1804: # ruby 2.5 workflow
if: github.event.pull_request.base.ref == '1.1.X-LTS' # check target branch of pr
runs-on: ubuntu-18.04
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: ruby-install
shell: bash
run: "sudo apt install -y ruby && ruby -v" # ruby anye tests here when ready
ubuntu-2004: # ruby 2.7 workflow
if: github.event.pull_request.base.ref != '1.1.X-LTS' # check target branch of pr
runs-on: ubuntu-20.04
steps:
-
name: Check out repository
uses: actions/checkout@v4
-
name: Display system info
run: |
ruby --version
docker --version
docker-compose --version
-
name: Start OpenStudio for testing Server API
run: |
echo "Not yet implemented"
-
name: Run tests in Docker
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
docker run -e COVERALLS_REPO_TOKEN=${COVERALLS_REPO_TOKEN} \
-v $(pwd):/var/simdata/openstudio \
nrel/openstudio:develop \
/bin/bash -c "bundle install && bundle exec rake"