Skip to content

Commit

Permalink
feat: modify action
Browse files Browse the repository at this point in the history
  • Loading branch information
manuandru committed Jan 19, 2024
1 parent ab5dd19 commit d42d40c
Showing 1 changed file with 25 additions and 12 deletions.
37 changes: 25 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,41 @@ name: CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

build-gym:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9"]

steps:
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

python-version: '3.8'
- name: Install
run: |
python -m pip install --upgrade pip
pip install -e .
build-ros:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install
run: |
python -m pip install --upgrade pip
pip install -e ./model-gym-ros-env/car_node/car_node
build-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Build Docker image
run: |
docker build .

0 comments on commit d42d40c

Please sign in to comment.