-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔨 Reverted back experimental industrial_ci_action.yml.
Signed-off-by: Bey Hao Yun <[email protected]>
- Loading branch information
1 parent
1daa9bd
commit 46902c9
Showing
1 changed file
with
0 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,26 +12,5 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install ROS dependencies | ||
run: | | ||
sudo apt update && sudo apt install -y ros-$ROS_DISTRO-colcon-cd ros-$ROS_DISTRO-test-results lcov | ||
- name: Colcon workspace setup | ||
run: | | ||
source /opt/ros/$ROS_DISTRO/setup.bash | ||
colcon build --symlink-install --cmake-args -DCMAKE_CXX_FLAGS='-fprofile-arcs -ftest-coverage' -DCMAKE_C_FLAGS='-fprofile-arcs -ftest-coverage' | ||
- name: Run tests with coverage | ||
run: | | ||
colcon lcov-result --initial | ||
colcon test --packages-select virtual_camera | ||
colcon lcov-result | ||
- uses: 'ros-industrial/industrial_ci@master' | ||
env: ${{matrix.env}} | ||
|
||
- name: Upload coverage to Coveralls | ||
uses: coveralls-actions/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
path-to-coverage: ./lcov/ |