Skip to content

Commit

Permalink
Github Workspace variable included in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto García <[email protected]>
  • Loading branch information
aaggj committed Nov 7, 2024
1 parent aa64c16 commit 0215385
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 7 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/rep-mocap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: rep-mocap
on:
pull_request:
branches:
- rep-mocap
push:
branches:
- rep-mocap

jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04]
fail-fast: false
steps:
- name: Repo checkout
uses: actions/checkout@v2

- name: Setup ROS 2
uses: ros-tooling/[email protected]
with:
required-ros-distributions: rolling
- name: build and test
uses: ros-tooling/[email protected]
with:
package-name: mocap4r2_control mocap4r2_control_msgs rqt_mocap4r2_control mocap4r2_marker_publisher mocap4r2_marker_viz mocap4r2_marker_viz_srvs
target-ros2-distro: rolling
vcs-repo-file-url: ${GITHUB_WORKSPACE}/dependency_repos.repos
- name: Codecov
uses: codecov/[email protected]
with:
file: ros_ws/lcov/total_coverage.info
flags: unittests
name: codecov-umbrella
# yml: ./codecov.yml
fail_ci_if_error: false
14 changes: 7 additions & 7 deletions .github/workflows/rolling.yaml
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
name: rolling

on:
pull_request:
branches:
- rolling
- rep-mocap
push:
branches:
- rolling
- rep-mocap

jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
os: [ubuntu-24.04]
fail-fast: false
steps:
- name: Repo checkout
uses: actions/checkout@v2

- name: Setup ROS 2
uses: ros-tooling/[email protected]
with:
required-ros-distributions: rolling
- name: build and test
uses: ros-tooling/[email protected]
with:
package-name: mocap4r2_vicon_driver
package-name: mocap4r2_control mocap4r2_control_msgs rqt_mocap4r2_control mocap4r2_marker_publisher mocap4r2_marker_viz mocap4r2_marker_viz_srvs
target-ros2-distro: rolling
vcs-repo-file-url: https://raw.githubusercontent.com/MOCAP4ROS2-Project/mocap4ros2_vicon/rep-mocap/dependency_repos.repos
vcs-repo-file-url: ${GITHUB_WORKSPACE}/dependency_repos.repos
- name: Codecov
uses: codecov/[email protected]
with:
file: ros_ws/lcov/total_coverage.info
flags: unittests
name: codecov-umbrella
yml: ./codecov.yml
# yml: ./codecov.yml
fail_ci_if_error: false

0 comments on commit 0215385

Please sign in to comment.