Fix CI #16
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
name: foxy-devel | |
on: | |
pull_request: | |
branches: | |
- foxy-devel | |
push: | |
branches: | |
- foxy-devel | |
jobs: | |
build-and-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
fail-fast: false | |
steps: | |
- name: Install popf deps | |
run: sudo apt-get install libfl-dev | |
- name: Fix pip | |
run: pip3 install empy==3.3.4; pip3 install -U colcon-common-extensions | |
- name: Setup ROS 2 | |
uses: ros-tooling/[email protected] | |
with: | |
required-ros-distributions: foxy | |
- name: build and test | |
uses: ros-tooling/[email protected] | |
with: | |
package-name: plansys2_bringup plansys2_bt_actions plansys2_domain_expert plansys2_executor plansys2_lifecycle_manager plansys2_msgs plansys2_pddl_parser plansys2_planner plansys2_popf_plan_solver plansys2_problem_expert plansys2_terminal plansys2_tests | |
target-ros2-distro: foxy | |
colcon-defaults: | | |
{ | |
"test": { | |
"parallel-workers" : 1 | |
} | |
} | |
vcs-repo-file-url: "" | |
colcon-mixin-name: coverage-gcc | |
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml | |
- 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 |