-
Notifications
You must be signed in to change notification settings - Fork 46
40 lines (40 loc) · 1.03 KB
/
ros-translator.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: ros-translator
on:
pull_request:
paths:
- '.github/workflows/ros-translator.yml'
- '.github/minimal-rmf/**'
- 'packages/ros-translator/**'
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CI: true
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
ros_distribution: [jazzy, rolling]
container:
image: ghcr.io/${{ github.repository }}/minimal-rmf:${{ matrix.ros_distribution }}-nightly
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
defaults:
run:
shell: bash
working-directory: packages/ros-translator
steps:
- uses: actions/checkout@v4
- name: bootstrap
uses: ./.github/actions/bootstrap
with:
package: ros-translator
- name: test
run: . /opt/ros/${{ matrix.ros_distribution }}/setup.bash && pnpm test