Skip to content

Commit

Permalink
Merge pull request #4 from vortexntnu/feature/ci-action
Browse files Browse the repository at this point in the history
Feature/ci action
  • Loading branch information
EirikKolas authored Sep 30, 2023
2 parents 6d82ec9 + 208279b commit efb8673
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI Action

on:
workflow_dispatch:

push:
branches: [ main ]

pull_request:
branches: [ main ]

env:
ROS_DISTRO: humble


jobs:
unit-test:
runs-on: ubuntu-latest

steps:
- name: Install ROS
uses: ros-tooling/[email protected]
with:
required-ros-distro: ${{ env.ROS_DISTRO }}
- name: Build and run tests
uses: ros-tooling/[email protected]
with:
package_name: vortex-m3-sonar-driver
target-ros2-distros: ${{ env.ROS_DISTRO }}

0 comments on commit efb8673

Please sign in to comment.