Skip to content

Commit

Permalink
Update run-unit-tests-push.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
delihus authored Dec 11, 2024
1 parent 064c730 commit 42b6bfc
Showing 1 changed file with 24 additions and 27 deletions.
51 changes: 24 additions & 27 deletions .github/workflows/run-unit-tests-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,29 @@ on:
workflow_dispatch:

jobs:
unit-tests:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
build:
runs-on: ubuntu-22.04

- name: Setup ROS
uses: ros-tooling/[email protected]
with:
use-ros2-testing: true
steps:
- uses: ros-tooling/[email protected]
with:
use-ros2-testing: true

- name: Build and test
uses: ros-tooling/[email protected]
with:
vcs-repo-file-url: ${{ github.workspace }}/husarion_ugv/simulation_deps.repos
target-ros2-distro: humble
colcon-defaults: |
{
"build": {
"packages-up-up": [
"husarion_ugv"
]
},
"test": {
"packages-up-up": [
"husarion_ugv"
]
}
}
- name: Build and test
uses: ros-tooling/[email protected]
with:
vcs-repo-file-url: ${{ github.workspace }}/husarion_ugv/simulation_deps.repos
target-ros2-distro: humble
colcon-defaults: |
{
"build": {
"packages-up-up": [
"husarion_ugv"
]
},
"test": {
"packages-up-up": [
"husarion_ugv"
]
}
}

0 comments on commit 42b6bfc

Please sign in to comment.