-
Notifications
You must be signed in to change notification settings - Fork 27
292 lines (261 loc) · 13.2 KB
/
TopSky_file_matcher.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
name: TopSky Data Files
on:
push:
paths:
- 'UK/Data/Plugin/TopSky_NERC/ICAO_Aircraft.json'
- 'UK/Data/Plugin/TopSky_iTEC/ICAO_Aircraft.json'
- 'UK/Data/Plugin/TopSky_NODE/ICAO_Aircraft.json'
- 'UK/Data/Plugin/TopSky_NOVA/ICAO_Aircraft.json'
- 'UK/Data/Plugin/TopSky_NERC/ICAO_Aircraft.txt'
- 'UK/Data/Plugin/TopSky_iTEC/ICAO_Aircraft.txt'
- 'UK/Data/Plugin/TopSky_NODE/ICAO_Aircraft.txt'
- 'UK/Data/Plugin/TopSky_NOVA/ICAO_Aircraft.txt'
- 'UK/Data/Plugin/TopSky_NERC/ICAO_Airlines.txt'
- 'UK/Data/Plugin/TopSky_iTEC/ICAO_Airlines.txt'
- 'UK/Data/Plugin/TopSky_NODE/ICAO_Airlines.txt'
- 'UK/Data/Plugin/TopSky_NOVA/ICAO_Airlines.txt'
- 'UK/Data/Plugin/TopSky_NERC/ICAO_Airports.txt'
- 'UK/Data/Plugin/TopSky_iTEC/ICAO_Airports.txt'
- 'UK/Data/Plugin/TopSky_NODE/ICAO_Airports.txt'
- 'UK/Data/Plugin/TopSky_NOVA/ICAO_Airports.txt'
- 'UK/Data/Plugin/TopSky_NERC/TopSkyAirspace.txt'
- 'UK/Data/Plugin/TopSky_iTEC/TopSkyAirspace.txt'
- 'UK/Data/Plugin/TopSky_NODE/TopSkyAirspace.txt'
- 'UK/Data/Plugin/TopSky_NOVA/TopSkyAirspace.txt'
- 'UK/Data/Plugin/TopSky_NERC/TopSkyAreas.txt'
- 'UK/Data/Plugin/TopSky_iTEC/TopSkyAreas.txt'
- 'UK/Data/Plugin/TopSky_NODE/TopSkyAreas.txt'
- 'UK/Data/Plugin/TopSky_NOVA/TopSkyAreas.txt'
- 'UK/Data/Plugin/TopSky_NERC/TopSkyCallsigns.txt'
- 'UK/Data/Plugin/TopSky_iTEC/TopSkyCallsigns.txt'
- 'UK/Data/Plugin/TopSky_NODE/TopSkyCallsigns.txt'
- 'UK/Data/Plugin/TopSky_NOVA/TopSkyCallsigns.txt'
- 'UK/Data/Plugin/TopSky_NERC/TopSkyCallsignsLocal.txt'
- 'UK/Data/Plugin/TopSky_iTEC/TopSkyCallsignsLocal.txt'
- 'UK/Data/Plugin/TopSky_NODE/TopSkyCallsignsLocal.txt'
- 'UK/Data/Plugin/TopSky_NOVA/TopSkyCallsignsLocal.txt'
- 'UK/Data/Plugin/TopSky_NERC/TopSkyCPDLC.txt'
- 'UK/Data/Plugin/TopSky_iTEC/TopSkyCPDLC.txt'
- 'UK/Data/Plugin/TopSky_NODE/TopSkyCPDLC.txt'
- 'UK/Data/Plugin/TopSky_NOVA/TopSkyCPDLC.txt'
- 'UK/Data/Plugin/TopSky_NERC/TopSkyCPDLChoppieCode.txt'
- 'UK/Data/Plugin/TopSky_iTEC/TopSkyCPDLChoppieCode.txt'
- 'UK/Data/Plugin/TopSky_NODE/TopSkyCPDLChoppieCode.txt'
- 'UK/Data/Plugin/TopSky_NOVA/TopSkyCPDLChoppieCode.txt'
- 'UK/Data/Plugin/TopSky_NERC/TopSkyMaps.txt'
- 'UK/Data/Plugin/TopSky_iTEC/TopSkyMaps.txt'
- 'UK/Data/Plugin/TopSky_NODE/TopSkyMaps.txt'
- 'UK/Data/Plugin/TopSky_NOVA/TopSkyMaps.txt'
- 'UK/Data/Plugin/TopSky_NERC/TopSkyMSAW.txt'
- 'UK/Data/Plugin/TopSky_iTEC/TopSkyMSAW.txt'
- 'UK/Data/Plugin/TopSky_NODE/TopSkyMSAW.txt'
- 'UK/Data/Plugin/TopSky_NOVA/TopSkyMSAW.txt'
- 'UK/Data/Plugin/TopSky_NERC/TopSkyRadars.txt'
- 'UK/Data/Plugin/TopSky_iTEC/TopSkyRadars.txt'
- 'UK/Data/Plugin/TopSky_NODE/TopSkyRadars.txt'
- 'UK/Data/Plugin/TopSky_NOVA/TopSkyRadars.txt'
pull_request:
paths:
- 'UK/Data/Plugin/TopSky_NERC/ICAO_Aircraft.json'
- 'UK/Data/Plugin/TopSky_iTEC/ICAO_Aircraft.json'
- 'UK/Data/Plugin/TopSky_NODE/ICAO_Aircraft.json'
- 'UK/Data/Plugin/TopSky_NOVA/ICAO_Aircraft.json'
- 'UK/Data/Plugin/TopSky_NERC/ICAO_Aircraft.txt'
- 'UK/Data/Plugin/TopSky_iTEC/ICAO_Aircraft.txt'
- 'UK/Data/Plugin/TopSky_NODE/ICAO_Aircraft.txt'
- 'UK/Data/Plugin/TopSky_NOVA/ICAO_Aircraft.txt'
- 'UK/Data/Plugin/TopSky_NERC/ICAO_Airlines.txt'
- 'UK/Data/Plugin/TopSky_iTEC/ICAO_Airlines.txt'
- 'UK/Data/Plugin/TopSky_NODE/ICAO_Airlines.txt'
- 'UK/Data/Plugin/TopSky_NOVA/ICAO_Airlines.txt'
- 'UK/Data/Plugin/TopSky_NERC/ICAO_Airports.txt'
- 'UK/Data/Plugin/TopSky_iTEC/ICAO_Airports.txt'
- 'UK/Data/Plugin/TopSky_NODE/ICAO_Airports.txt'
- 'UK/Data/Plugin/TopSky_NOVA/ICAO_Airports.txt'
- 'UK/Data/Plugin/TopSky_NERC/TopSkyAirspace.txt'
- 'UK/Data/Plugin/TopSky_iTEC/TopSkyAirspace.txt'
- 'UK/Data/Plugin/TopSky_NODE/TopSkyAirspace.txt'
- 'UK/Data/Plugin/TopSky_NOVA/TopSkyAirspace.txt'
- 'UK/Data/Plugin/TopSky_NERC/TopSkyAreas.txt'
- 'UK/Data/Plugin/TopSky_iTEC/TopSkyAreas.txt'
- 'UK/Data/Plugin/TopSky_NODE/TopSkyAreas.txt'
- 'UK/Data/Plugin/TopSky_NOVA/TopSkyAreas.txt'
- 'UK/Data/Plugin/TopSky_NERC/TopSkyCallsigns.txt'
- 'UK/Data/Plugin/TopSky_iTEC/TopSkyCallsigns.txt'
- 'UK/Data/Plugin/TopSky_NODE/TopSkyCallsigns.txt'
- 'UK/Data/Plugin/TopSky_NOVA/TopSkyCallsigns.txt'
- 'UK/Data/Plugin/TopSky_NERC/TopSkyCallsignsLocal.txt'
- 'UK/Data/Plugin/TopSky_iTEC/TopSkyCallsignsLocal.txt'
- 'UK/Data/Plugin/TopSky_NODE/TopSkyCallsignsLocal.txt'
- 'UK/Data/Plugin/TopSky_NOVA/TopSkyCallsignsLocal.txt'
- 'UK/Data/Plugin/TopSky_NERC/TopSkyCPDLC.txt'
- 'UK/Data/Plugin/TopSky_iTEC/TopSkyCPDLC.txt'
- 'UK/Data/Plugin/TopSky_NODE/TopSkyCPDLC.txt'
- 'UK/Data/Plugin/TopSky_NOVA/TopSkyCPDLC.txt'
- 'UK/Data/Plugin/TopSky_NERC/TopSkyCPDLChoppieCode.txt'
- 'UK/Data/Plugin/TopSky_iTEC/TopSkyCPDLChoppieCode.txt'
- 'UK/Data/Plugin/TopSky_NODE/TopSkyCPDLChoppieCode.txt'
- 'UK/Data/Plugin/TopSky_NOVA/TopSkyCPDLChoppieCode.txt'
- 'UK/Data/Plugin/TopSky_NERC/TopSkyMaps.txt'
- 'UK/Data/Plugin/TopSky_iTEC/TopSkyMaps.txt'
- 'UK/Data/Plugin/TopSky_NODE/TopSkyMaps.txt'
- 'UK/Data/Plugin/TopSky_NOVA/TopSkyMaps.txt'
- 'UK/Data/Plugin/TopSky_NERC/TopSkyMSAW.txt'
- 'UK/Data/Plugin/TopSky_iTEC/TopSkyMSAW.txt'
- 'UK/Data/Plugin/TopSky_NODE/TopSkyMSAW.txt'
- 'UK/Data/Plugin/TopSky_NOVA/TopSkyMSAW.txt'
- 'UK/Data/Plugin/TopSky_NERC/TopSkyRadars.txt'
- 'UK/Data/Plugin/TopSky_iTEC/TopSkyRadars.txt'
- 'UK/Data/Plugin/TopSky_NODE/TopSkyRadars.txt'
- 'UK/Data/Plugin/TopSky_NOVA/TopSkyRadars.txt'
jobs:
Check_Files_Match:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Check if ICAO_Aircraft.json files match
run: |
file1="UK/Data/Plugin/TopSky_NERC/ICAO_Aircraft.json"
file2="UK/Data/Plugin/TopSky_iTEC/ICAO_Aircraft.json"
file3="UK/Data/Plugin/TopSky_NODE/ICAO_Aircraft.json"
file4="UK/Data/Plugin/TopSky_NOVA/ICAO_Aircraft.json"
if ! cmp --silent "$file1" "$file2" || ! cmp --silent "$file1" "$file3" || ! cmp --silent "$file1" "$file4"; then
echo "ICAO_Aircraft.json files do not match!"
exit 1
fi
shell: bash
- name: Check if ICAO_Aircraft.txt files match
run: |
file1="UK/Data/Plugin/TopSky_NERC/ICAO_Aircraft.txt"
file2="UK/Data/Plugin/TopSky_iTEC/ICAO_Aircraft.txt"
file3="UK/Data/Plugin/TopSky_NODE/ICAO_Aircraft.txt"
file4="UK/Data/Plugin/TopSky_NOVA/ICAO_Aircraft.txt"
if ! cmp --silent "$file1" "$file2" || ! cmp --silent "$file1" "$file3" || ! cmp --silent "$file1" "$file4"; then
echo "ICAO_Aircraft.txt files do not match!"
exit 1
fi
shell: bash
- name: Check if ICAO_Airlines.txt files match
run: |
file1="UK/Data/Plugin/TopSky_NERC/ICAO_Airlines.txt"
file2="UK/Data/Plugin/TopSky_iTEC/ICAO_Airlines.txt"
file3="UK/Data/Plugin/TopSky_NODE/ICAO_Airlines.txt"
file4="UK/Data/Plugin/TopSky_NOVA/ICAO_Airlines.txt"
if ! cmp --silent "$file1" "$file2" || ! cmp --silent "$file1" "$file3" || ! cmp --silent "$file1" "$file4"; then
echo "ICAO_Airlines.txt files do not match!"
exit 1
fi
shell: bash
- name: Check if ICAO_Airports.txt files match
run: |
file1="UK/Data/Plugin/TopSky_NERC/ICAO_Airports.txt"
file2="UK/Data/Plugin/TopSky_iTEC/ICAO_Airports.txt"
file3="UK/Data/Plugin/TopSky_NODE/ICAO_Airports.txt"
file4="UK/Data/Plugin/TopSky_NOVA/ICAO_Airports.txt"
if ! cmp --silent "$file1" "$file2" || ! cmp --silent "$file1" "$file3" || ! cmp --silent "$file1" "$file4"; then
echo "ICAO_Airports.txt files do not match!"
exit 1
fi
shell: bash
- name: Check if TopSkyAirspace.txt files match
run: |
file1="UK/Data/Plugin/TopSky_NERC/TopSkyAirspace.txt"
file2="UK/Data/Plugin/TopSky_iTEC/TopSkyAirspace.txt"
file3="UK/Data/Plugin/TopSky_NODE/TopSkyAirspace.txt"
file4="UK/Data/Plugin/TopSky_NOVA/TopSkyAirspace.txt"
if ! cmp --silent "$file1" "$file2" || ! cmp --silent "$file1" "$file3" || ! cmp --silent "$file1" "$file4"; then
echo "TopSkyAirspace.txt files do not match!"
exit 1
fi
shell: bash
- name: Check if TopSkyAreas.txt files match
run: |
file1="UK/Data/Plugin/TopSky_NERC/TopSkyAreas.txt"
file2="UK/Data/Plugin/TopSky_iTEC/TopSkyAreas.txt"
file3="UK/Data/Plugin/TopSky_NODE/TopSkyAreas.txt"
file4="UK/Data/Plugin/TopSky_NOVA/TopSkyAreas.txt"
if ! cmp --silent "$file1" "$file2" || ! cmp --silent "$file1" "$file3" || ! cmp --silent "$file1" "$file4"; then
echo "TopSkyAreas.txt files do not match!"
exit 1
fi
shell: bash
- name: Check if TopSkyCallsigns.txt files match
run: |
file1="UK/Data/Plugin/TopSky_NERC/TopSkyCallsigns.txt"
file2="UK/Data/Plugin/TopSky_iTEC/TopSkyCallsigns.txt"
file3="UK/Data/Plugin/TopSky_NODE/TopSkyCallsigns.txt"
file4="UK/Data/Plugin/TopSky_NOVA/TopSkyCallsigns.txt"
if ! cmp --silent "$file1" "$file2" || ! cmp --silent "$file1" "$file3" || ! cmp --silent "$file1" "$file4"; then
echo "TopSkyCallsigns.txt files do not match!"
exit 1
fi
shell: bash
- name: Check if TopSkyCallsignsLocal.txt files match
run: |
file1="UK/Data/Plugin/TopSky_NERC/TopSkyCallsignsLocal.txt"
file2="UK/Data/Plugin/TopSky_iTEC/TopSkyCallsignsLocal.txt"
file3="UK/Data/Plugin/TopSky_NODE/TopSkyCallsignsLocal.txt"
file4="UK/Data/Plugin/TopSky_NOVA/TopSkyCallsignsLocal.txt"
if ! cmp --silent "$file1" "$file2" || ! cmp --silent "$file1" "$file3" || ! cmp --silent "$file1" "$file4"; then
echo "TopSkyCallsignsLocal.txt files do not match!"
exit 1
fi
shell: bash
- name: Check if TopSkyCPDLC.txt files match
run: |
file1="UK/Data/Plugin/TopSky_NERC/TopSkyCPDLC.txt"
file2="UK/Data/Plugin/TopSky_iTEC/TopSkyCPDLC.txt"
file3="UK/Data/Plugin/TopSky_NODE/TopSkyCPDLC.txt"
file4="UK/Data/Plugin/TopSky_NOVA/TopSkyCPDLC.txt"
if ! cmp --silent "$file1" "$file2" || ! cmp --silent "$file1" "$file3" || ! cmp --silent "$file1" "$file4"; then
echo "TopSkyCPDLC.txt files do not match!"
exit 1
fi
shell: bash
- name: Check if TopSkyCPDLChoppieCode.txt files match
run: |
file1="UK/Data/Plugin/TopSky_NERC/TopSkyCPDLChoppieCode.txt"
file2="UK/Data/Plugin/TopSky_iTEC/TopSkyCPDLChoppieCode.txt"
file3="UK/Data/Plugin/TopSky_NODE/TopSkyCPDLChoppieCode.txt"
file4="UK/Data/Plugin/TopSky_NOVA/TopSkyCPDLChoppieCode.txt"
if ! cmp --silent "$file1" "$file2" || ! cmp --silent "$file1" "$file3" || ! cmp --silent "$file1" "$file4"; then
echo "TopSkyCPDLChoppieCode.txt files do not match!"
exit 1
fi
shell: bash
- name: Check if TopSkyMaps.txt files match
run: |
file1="UK/Data/Plugin/TopSky_NERC/TopSkyMaps.txt"
file2="UK/Data/Plugin/TopSky_iTEC/TopSkyMaps.txt"
file3="UK/Data/Plugin/TopSky_NODE/TopSkyMaps.txt"
file4="UK/Data/Plugin/TopSky_NOVA/TopSkyMaps.txt"
if ! cmp --silent "$file1" "$file2" || ! cmp --silent "$file1" "$file3" || ! cmp --silent "$file1" "$file4"; then
echo "TopSkyMaps.txt files do not match!"
exit 1
fi
shell: bash
- name: Check if TopSkyMSAW.txt files match
run: |
file1="UK/Data/Plugin/TopSky_NERC/TopSkyMSAW.txt"
file2="UK/Data/Plugin/TopSky_iTEC/TopSkyMSAW.txt"
file3="UK/Data/Plugin/TopSky_NODE/TopSkyMSAW.txt"
file4="UK/Data/Plugin/TopSky_NOVA/TopSkyMSAW.txt"
if ! cmp --silent "$file1" "$file2" || ! cmp --silent "$file1" "$file3" || ! cmp --silent "$file1" "$file4"; then
echo "TopSkyMSAW.txt files do not match!"
exit 1
fi
shell: bash
- name: Check if TopSkyRadars.txt files match
run: |
file1="UK/Data/Plugin/TopSky_NERC/TopSkyRadars.txt"
file2="UK/Data/Plugin/TopSky_iTEC/TopSkyRadars.txt"
file3="UK/Data/Plugin/TopSky_NODE/TopSkyRadars.txt"
file4="UK/Data/Plugin/TopSky_NOVA/TopSkyRadars.txt"
if ! cmp --silent "$file1" "$file2" || ! cmp --silent "$file1" "$file3" || ! cmp --silent "$file1" "$file4"; then
echo "TopSkyRadars.txt files do not match!"
exit 1
fi
shell: bash
- name: All files match
run: echo "All TopSky datafiles match across the instances."