Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Tudela <ajtudela@gmail.com>
  • Loading branch information
ajtudela committed Oct 17, 2024
1 parent e8043d1 commit 147a62d
Showing 1 changed file with 45 additions and 45 deletions.
90 changes: 45 additions & 45 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,6 @@ jobs:
packages: libprocps-dev
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup ROS 2
uses: ros-tooling/setup-ros@0.7.5
with:
required-ros-distributions: humble
- name: Restore MIRA cache
id: restore-cache-mira
uses: actions/cache@v4
with:
path: ${{ env.MIRA_PATH }}
key: mira-${{ runner.os }}-ubuntu-22.04
- name: Restore cache
uses: actions/cache@v4
with:
Expand All @@ -67,39 +57,49 @@ jobs:
restore-keys: |
scitos2-${{ runner.os }}-${{ github.sha }}
scitos2-${{ runner.os }}
- name: Check ls
run: ls -la ${{ github.workspace }}
# - name: Build packages
# env:
# MIRA_PATH: ${{ env.MIRA_PATH }}
# uses: ros-tooling/action-ros-ci@0.3.13
# with:
# package-name: |
# scitos2
# scitos2_behavior_tree
# scitos2_charging_dock
# scitos2_common
# scitos2_core
# scitos2_mira
# scitos2_modules
# scitos2_msgs
# target-ros2-distro: humble
# vcs-repo-file-url: ./.github/dependencies.repos
# colcon-defaults: |
# {
# "build": {
# "mixin": ["coverage-gcc", "coverage-pytest"]
# },
# "test": {
# "mixin": ["coverage-pytest"]
# }
# }
# skip-tests: false
# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v4.4.1
- name: Setup ROS 2
uses: ros-tooling/setup-ros@0.7.5
with:
required-ros-distributions: humble
# - name: Restore MIRA cache
# id: restore-cache-mira
# uses: actions/cache@v4
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# files: ros_ws/lcov/total_coverage.info,ros_ws/coveragepy/.coverage
# flags: unittests
# name: codecov-umbrella
# slug: grupo-avispa/scitos2
# path: ${{ env.MIRA_PATH }}
# key: mira-${{ runner.os }}-ubuntu-22.04
# - name: Check ls
# run: ls -la ${{ github.workspace }}
- name: Build packages
env:
MIRA_PATH: ${{ env.MIRA_PATH }}
uses: ros-tooling/action-ros-ci@0.3.13
with:
package-name: |
scitos2
scitos2_behavior_tree
scitos2_charging_dock
scitos2_common
scitos2_core
scitos2_mira
scitos2_modules
scitos2_msgs
target-ros2-distro: humble
vcs-repo-file-url: ./.github/dependencies.repos
colcon-defaults: |
{
"build": {
"mixin": ["coverage-gcc", "coverage-pytest"]
},
"test": {
"mixin": ["coverage-pytest"]
}
}
skip-tests: false
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.4.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ros_ws/lcov/total_coverage.info,ros_ws/coveragepy/.coverage
flags: unittests
name: codecov-umbrella
slug: grupo-avispa/scitos2

0 comments on commit 147a62d

Please sign in to comment.