-
Notifications
You must be signed in to change notification settings - Fork 20
62 lines (60 loc) · 3.51 KB
/
validate_maps_and_scenarios_with_xmllint.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: Validate OpenX files with xmllint
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
validate_openx_files_with_xmllint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Validate all scenarios
uses: ./.github/actions/xmllint
with:
FILE: "./Scenarios/ALKS_Scenario_4.1_1_FreeDriving_TEMPLATE.xosc \
./Scenarios/ALKS_Scenario_4.1_2_SwervingLeadVehicle_TEMPLATE.xosc \
./Scenarios/ALKS_Scenario_4.1_3_SideVehicle_TEMPLATE.xosc \
./Scenarios/ALKS_Scenario_4.2_1_FullyBlockingTarget_TEMPLATE.xosc \
./Scenarios/ALKS_Scenario_4.2_2_PartiallyBlockingTarget_TEMPLATE.xosc \
./Scenarios/ALKS_Scenario_4.2_3_CrossingPedestrian_TEMPLATE.xosc \
./Scenarios/ALKS_Scenario_4.2_4_MultipleBlockingTargets_TEMPLATE.xosc \
./Scenarios/ALKS_Scenario_4.3_1_FollowLeadVehicleComfortable_TEMPLATE.xosc \
./Scenarios/ALKS_Scenario_4.3_2_FollowLeadVehicleEmergencyBrake_TEMPLATE.xosc \
./Scenarios/ALKS_Scenario_4.4_1_CutInNoCollision_TEMPLATE.xosc \
./Scenarios/ALKS_Scenario_4.4_2_CutInUnavoidableCollision_TEMPLATE.xosc \
./Scenarios/ALKS_Scenario_4.5_1_CutOutFullyBlocking_TEMPLATE.xosc \
./Scenarios/ALKS_Scenario_4.5_2_CutOutMultipleBlockingTargets_TEMPLATE.xosc \
./Scenarios/ALKS_Scenario_4.6_1_ForwardDetectionRange_TEMPLATE.xosc \
./Scenarios/ALKS_Scenario_4.6_2_LateralDetectionRange_TEMPLATE.xosc \
./Catalogs/Controllers/ControllerCatalog.xosc \
./Catalogs/MiscObjects/MiscObjectCatalog.xosc \
./Catalogs/Vehicles/VehicleCatalog.xosc \
./Catalogs/Pedestrians/PedestrianCatalog.xosc \
./Variations/ALKS_Scenario_4.1_1_FreeDriving_Variation.xosc \
./Variations/ALKS_Scenario_4.1_2_SwervingLeadVehicle_Variation.xosc \
./Variations/ALKS_Scenario_4.1_3_SideVehicle_Variation.xosc \
./Variations/ALKS_Scenario_4.2_1_FullyBlockingTarget_Variation.xosc \
./Variations/ALKS_Scenario_4.2_2_PartiallyBlockingTarget_Variation.xosc \
./Variations/ALKS_Scenario_4.2_3_CrossingPedestrian_Variation.xosc \
./Variations/ALKS_Scenario_4.2_4_MultipleBlockingTargets_Variation.xosc \
./Variations/ALKS_Scenario_4.3_1_FollowLeadVehicleComfortable_Variation.xosc \
./Variations/ALKS_Scenario_4.3_2_FollowLeadVehicleEmergencyBrake_Variation.xosc \
./Variations/ALKS_Scenario_4.3_2_FollowLeadVehicleEmergencyBrake_Variation_Reference.xosc \
./Variations/ALKS_Scenario_4.4_1_CutInNoCollision_Variation.xosc \
./Variations/ALKS_Scenario_4.5_1_CutOutFullyBlocking_Variation.xosc \
./Variations/ALKS_Scenario_4.5_2_CutOutMultipleBlockingTargets_Variation.xosc \
./Variations/ALKS_Scenario_4.6_1_ForwardDetectionRange_Variation.xosc \
./Variations/ALKS_Scenario_4.6_2_LateralDetectionRange_Variation.xosc"
SCHEMA: ./.github/workflows/OpenSCENARIO_StrictValidation_1_1.xsd
- name: Validate all maps
uses: ./.github/actions/xmllint
with:
FILE: "./Scenarios/ALKS_Road_straight.xodr \
./Scenarios/ALKS_Road_left_radius_250m.xodr \
./Scenarios/ALKS_Road_right_radius_250m.xodr \
./Scenarios/ALKS_Road_left_radius_1000m.xodr \
./Scenarios/ALKS_Road_right_radius_1000m.xodr \
./Scenarios/ALKS_Road_Different_Curvatures.xodr"
SCHEMA: ./.github/workflows/opendrive_16_core.xsd