-
Notifications
You must be signed in to change notification settings - Fork 1
68 lines (57 loc) · 2.43 KB
/
Copy pathconsistency-downstream.yml
File metadata and controls
68 lines (57 loc) · 2.43 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: consistency-downstream
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
pull-requests: write
jobs:
consistency-downstream:
runs-on: ubuntu-latest
env:
GIT_LFS_SKIP_SMUDGE: 1
steps:
- name: Checkout openads-dev-environment
uses: actions/checkout@v4
- name: Install dependencies via apt
run: sudo apt-get update && sudo apt-get install -y doxygen
- name: Install dependencies via pip
run: python3 -m pip install -r scripts/requirements.txt
- name: Run downstream consistency checks
id: downstream-consistency
shell: bash
run: |
set +e
comment_file="downstream-consistency-comment.md"
python3 scripts/check_downstream_consistency.py \
--markdown-report "${comment_file}" \
https://github.com/openads-project/ackermann_trajectory_control.git \
https://github.com/openads-project/carla_converter.git \
https://github.com/openads-project/lanelet2_map_server.git \
https://github.com/openads-project/lanelet2_object_list_prediction.git \
https://github.com/openads-project/lanelet2_route_planning.git \
https://github.com/openads-project/monitoring.git \
https://github.com/openads-project/openads_demo_service.git \
https://github.com/openads-project/point_cloud_fusion.git \
https://github.com/openads-project/point_cloud_object_detection.git \
https://github.com/openads-project/ros2_graph_export.git \
https://github.com/openads-project/ros_middleware_bridge.git \
https://github.com/openads-project/simple_planner.git \
https://github.com/openads-project/simulation_adapter.git \
https://github.com/openads-project/trajectory_optimization.git
if [ ! -s "${comment_file}" ]; then
echo "Downstream consistency report was not generated." | tee "${comment_file}" >> "${GITHUB_STEP_SUMMARY}"
exit 1
fi
cat "${comment_file}" >> "${GITHUB_STEP_SUMMARY}"
exit 0
- name: Comment downstream consistency result
if: github.event_name == 'pull_request'
uses: marocchino/sticky-pull-request-comment@v3
continue-on-error: true
with:
header: downstream-consistency
path: downstream-consistency-comment.md