Skip to content

Commit

Permalink
Update CI for Rolling (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmagyar authored May 18, 2023
1 parent d8ea870 commit df4d55f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,30 @@ 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/[email protected]
with:
target-ros2-distro: foxy
target-ros2-distro: rolling
# build all packages listed in the meta package
package-name:
joy_teleop
key_teleop
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
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
distribution: foxy
distribution: rolling
linter: ${{ matrix.linter }}
package-name:
joy_teleop
Expand Down

0 comments on commit df4d55f

Please sign in to comment.