From df4d55f0b911371d18652b9808f7981dd2a237a7 Mon Sep 17 00:00:00 2001 From: Bence Magyar Date: Thu, 18 May 2023 17:09:54 +0100 Subject: [PATCH] Update CI for Rolling (#83) --- .github/workflows/ci.yml | 18 +++++++----------- .github/workflows/lint.yml | 6 +++--- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d706bcf..bede2d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,19 +8,17 @@ on: jobs: ci: - name: Foxy source job - runs-on: ubuntu-20.04 + name: Rolling source job + runs-on: ubuntu-22.04 strategy: fail-fast: false steps: - - uses: ros-tooling/setup-ros@v0.1 + - uses: ros-tooling/setup-ros@v0.6 with: - required-ros-distributions: foxy - # workaround - - run: sudo RTI_NC_LICENSE_ACCEPTED=yes apt-get install -y rti-connext-dds-5.3.1 + required-ros-distributions: rolling - uses: ros-tooling/action-ros-ci@v0.1 with: - target-ros2-distro: foxy + target-ros2-distro: rolling # build all packages listed in the meta package package-name: joy_teleop @@ -28,14 +26,12 @@ jobs: mouse_teleop teleop_tools teleop_tools_msgs - colcon-mixin-name: coverage-gcc - colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v3 with: file: ros_ws/lcov/total_coverage.info flags: unittests name: codecov-umbrella - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 with: name: colcon-logs-${{ matrix.os }} path: ros_ws/log diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e7c420b..551daad 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,17 +5,17 @@ on: jobs: ament_lint: name: ament_${{ matrix.linter }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: linter: [copyright, flake8, pep257, xmllint] steps: - uses: actions/checkout@v1 - - uses: ros-tooling/setup-ros@v0.1 + - uses: ros-tooling/setup-ros@v0.6 - uses: ros-tooling/action-ros-lint@v0.1 with: - distribution: foxy + distribution: rolling linter: ${{ matrix.linter }} package-name: joy_teleop