-
Notifications
You must be signed in to change notification settings - Fork 53
40 lines (33 loc) · 974 Bytes
/
ros-tests.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 and Conan Integration Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
container:
image: osrf/ros:humble-desktop
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Configure
run: |
apt-get update && apt-get install -y python3 python3-pip
python3 -m pip install conan
chmod +x ./examples/tools/ros/rosenv/workspace/test_ros.sh
- name: Run example with latest Conan release
shell: bash
run: |
./examples/tools/ros/rosenv/workspace/test_ros.sh
- name: Uninstall Conan release and install Conan from develop2 branch
run: |
python3 -m pip uninstall -y conan
python3 -m pip install git+https://github.com/conan-io/conan.git
- name: Run example with Conan from repo
shell: bash
run: |
./examples/tools/ros/rosenv/workspace/test_ros.sh