-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Christophe Bedard <[email protected]>
- Loading branch information
1 parent
1fa9011
commit 8cc759d
Showing
2 changed files
with
47 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Test | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# - uses: actions/checkout@v2 | ||
# - uses: ros-tooling/[email protected] | ||
- uses: christophebedard/setup-ros@install-colcon-coveragepy-result | ||
- name: Install LTTng | ||
run: | | ||
sudo apt-add-repository -y ppa:lttng/ppa | ||
sudo apt-get update | ||
sudo apt-get install -q -y lttng-tools liblttng-ust-dev python3-lttng python3-babeltrace python3-pandas | ||
# - uses: ros-tooling/[email protected] | ||
- uses: christophebedard/action-ros-ci@238-collect-all-python-coverage-data | ||
with: | ||
package-name: ros2trace tracetools tracetools_launch tracetools_read tracetools_test tracetools_trace | ||
colcon-mixin-name: coverage-gcc coverage-pytest | ||
- run: | | ||
sudo dpkg -l | grep pytest-cov | ||
dpkg -l | grep pytest-cov | ||
sudo pip3 list | grep pytest-cov | ||
pip3 list | grep pytest-cov | ||
sudo python3 -m pytest --version | ||
python3 -m pytest --version | ||
pwd | ||
ls -al | ||
sudo python3 -m pytest --version > out 2>error | ||
cat out | ||
echo "sep" | ||
cat error | ||
ls -al ../codecov.yml && cp ../codecov.yml . | ||
- uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
file: ros_ws/lcov/total_coverage.info | ||
- uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
file: ros_ws/coveragepy/.coverage |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
fixes: | ||
- "/builds/micro-ROS/ros_tracing/ros2_tracing/::" | ||
- "/builds/micro-ROS/ros_tracing/ros2_tracing/install/tracetools/::tracetools/" | ||
- "/home/runner/work/ros2_tracing/ros2_tracing/ros_ws/src/ros2_tracing/::" | ||
- "/home/runner/work/ros2_tracing/ros2_tracing/ros_ws/install/tracetools/::tracetools/" |