Remove duplicate on: push. #63
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 | |
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | |
- name: List of files in the repository | |
run: | | |
ls ${{ github.workspace }} | |
- name: Set up Docker | |
uses: docker/setup-buildx-action@v2 | |
- 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 | |
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | |
- name: List of files in the repository | |
run: | | |
ls ${{ github.workspace }} | |
- name: Set up Docker | |
uses: docker/setup-buildx-action@v2 | |
- 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 | |
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | |
- name: List of files in the repository | |
run: | | |
ls ${{ github.workspace }} | |
- name: Test service version | |
run: make test-service-in-container | |