Skip to content

Commit

Permalink
.github
Browse files Browse the repository at this point in the history
  • Loading branch information
SamueleSandrini committed Aug 22, 2024
1 parent 61fdf5e commit 33b13aa
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 0 deletions.
File renamed without changes.
41 changes: 41 additions & 0 deletions .github/workflows/jazzy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: main

on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04]
fail-fast: false
steps:
- name: Setup ROS 2
uses: ros-tooling/setup-ros@0.7.0
with:
required-ros-distributions: jazzy

- name: Checkout repository
uses: actions/checkout@v3

- name: install python dep
run: |
python3 -m pip install -r requirements.txt
- name: build and test
uses: ros-tooling/action-ros-ci@0.3.3
with:
package-name: vision_system
target-ros2-distro: jazzy
colcon-defaults: |
{
"test": {
"parallel-workers" : 1
}
}
41 changes: 41 additions & 0 deletions .github/workflows/rolling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: main

on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
fail-fast: false
steps:
- name: Setup ROS 2
uses: ros-tooling/setup-ros@0.7.0
with:
required-ros-distributions: rolling

- name: Checkout repository
uses: actions/checkout@v3

- name: install python dep
run: |
python3 -m pip install -r requirements.txt
- name: build and test
uses: ros-tooling/action-ros-ci@0.3.3
with:
package-name: vision_system
target-ros2-distro: rolling
colcon-defaults: |
{
"test": {
"parallel-workers" : 1
}
}

0 comments on commit 33b13aa

Please sign in to comment.