Skip to content

Commit

Permalink
🔨 Fixing failing CI.
Browse files Browse the repository at this point in the history
Signed-off-by: Bey Hao Yun <[email protected]>
  • Loading branch information
cardboardcode committed Mar 17, 2024
1 parent 2f7cc2c commit 8d6a357
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions .github/workflows/industrial_ci_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,4 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: 'ros-industrial/industrial_ci@master'
env: ${{matrix.env}}

- name: Install ROS 2
run: |
pip install colcon-common-extensions
- name: Setup ROS 2 environment
run: |
sudo apt install -y ros-humble-desktop && \
source /opt/ros/humble/setup.bash
- name: Build your ROS 2 package
run: |
colcon build --symlink-install --cmake-args \
-DCMAKE_CXX_FLAGS='-fprofile-arcs -ftest-coverage' \
-DCMAKE_C_FLAGS='-fprofile-arcs -ftest-coverage'
- name: Run ROS 2 unit tests with coverage
run: |
colcon lcov-result --initial && \
colcon test --packages-select virtual_camera && \
colcon lcov-result
- name: Coveralls GitHub Action
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
coveralls-file: ./lcov/total_coverage.info
env: ${{matrix.env}}

0 comments on commit 8d6a357

Please sign in to comment.