Merge pull request #151 from ibpsa/origin149_fixStartTimeExamples2 #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI of BOPTEST-Gym using GitHub Actions | |
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
types: [opened, synchronize, reopened] | |
jobs: | |
test-local: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: testing | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Pull boptestgym image from registry | |
run: make pull-boptestgym | |
- name: Pull boptest_base image from registry | |
run: make pull-boptestbase | |
- name: Install Docker Compose | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y docker-compose | |
- name: Test local version | |
run: make test-local-in-container | |
test-vectorized: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: testing | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Pull boptestgym image from registry | |
run: make pull-boptestgym | |
- name: Pull boptest_base image from registry | |
run: make pull-boptestbase | |
- name: Install Docker Compose | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y docker-compose | |
- name: Test vectorized environment | |
run: make test-vectorized-in-container | |
test-service: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: testing | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Pull boptestgym image from registry | |
run: make pull-boptestgym | |
- name: Pull boptest_base image from registry | |
run: make pull-boptestbase | |
- name: Test service version | |
run: make test-service-in-container | |