-
-
Notifications
You must be signed in to change notification settings - Fork 18
44 lines (42 loc) · 1.72 KB
/
smoke-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
41
42
43
44
name: smoke tests with GTFS datasets
on:
push:
branches:
- main
jobs:
smoke-test-vbb:
name: run VBB smoke test
uses: './.github/workflows/smoke-test.yml'
with:
feed-name: VBB
feed-download-cmd: 'wget -nv -U "gtfs-via-postgres CI" --compression auto -r --no-parent --no-directories -R .csv.gz -P gtfs -N "https://vbb-gtfs.jannisr.de/latest/"'
feed-extract-cmd: ''
feed-import-flags: ''
feed-import-glob: 'gtfs/*.csv'
smoke-test-entur:
name: run Entur smoke test
uses: './.github/workflows/smoke-test.yml'
with:
feed-name: Entur
feed-download-cmd: 'wget -nv -U "gtfs-via-postgres CI" "https://storage.googleapis.com/marduk-production/outbound/gtfs/rb_norway-aggregated-gtfs.zip" -O gtfs.zip'
feed-extract-cmd: 'unzip -d gtfs gtfs.zip'
feed-import-flags: '--route-types-scheme tpeg-pti'
feed-import-glob: 'gtfs/*.txt'
smoke-test-vgn:
name: run VGN smoke test
uses: './.github/workflows/smoke-test.yml'
with:
feed-name: VGN
feed-download-cmd: 'wget -nv -U "gtfs-via-postgres CI" "https://www.vgn.de/opendata/GTFS.zip" -O gtfs.zip'
feed-extract-cmd: 'unzip -d gtfs gtfs.zip'
feed-import-flags: '--trips-without-shape-id'
feed-import-glob: 'gtfs/*.txt'
smoke-test-vvs:
name: run VVS smoke test
uses: './.github/workflows/smoke-test.yml'
with:
feed-name: VVS
feed-download-cmd: 'wget -nv -U "gtfs-via-postgres CI" "https://download.vvs.de/gtfs_realtime.zip" -O gtfs.zip'
feed-extract-cmd: 'unzip -d gtfs gtfs.zip && rm gtfs/ticketing_deep_links.txt gtfs/ticketing_identifiers.txt'
feed-import-flags: '--trips-without-shape-id --lower-case-lang-codes'
feed-import-glob: 'gtfs/*.txt'