Fix dependencies #82
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
# Simple set of rules for GitHub actions integration with a ROS project | |
# | |
name: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
env: | |
CORTEX_PATH: ${{ github.workspace }}/cortex | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout Repository | |
uses: actions/[email protected] | |
- name: Setup ROS 2 | |
uses: ros-tooling/[email protected] | |
- name: Install Cortex | |
run: | | |
mkdir $CORTEX_PATH && cd $CORTEX_PATH | |
curl -o installation.sh https://raw.githubusercontent.com/grupo-avispa/cortex/development/installation.sh | |
chmod +x installation.sh | |
./installation.sh | |
- name: Install dependencies | |
uses: ros-tooling/[email protected] | |
with: | |
package-name: | |
dsr_ros | |
dsr_agents | |
dsr_bridge | |
dsr_msgs | |
dsr_rqt_plugin | |
dsr_util | |
target-ros2-distro: humble | |
colcon-defaults: | | |
{ | |
"build": { | |
"mixin": ["coverage-gcc", "coverage-pytest"] | |
}, | |
"test": { | |
"mixin": ["coverage-pytest"] | |
} | |
} | |
skip-tests: false | |
- name: Upload coverage reports to Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ros_ws/lcov/total_coverage.info,ros_ws/coveragepy/.coverage | |
flags: unittests | |
name: codecov-umbrella | |
slug: grupo-avispa/dsr_ros |