From 0a2f4eecdac58b1d829400f7af7b0bc71265d4bd Mon Sep 17 00:00:00 2001 From: "Charles P." Date: Sat, 1 Jun 2024 22:25:21 +0200 Subject: [PATCH] :construction: add test.yml --- .forgejo/workflows/test.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .forgejo/workflows/test.yml diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml new file mode 100644 index 0000000..be8cbbd --- /dev/null +++ b/.forgejo/workflows/test.yml @@ -0,0 +1,27 @@ +name: GTFS Shapes Generation + +on: [push] + +jobs: + modify_routes: + runs-on: docker + steps: + - name: Download sample feed + run: curl -o sample-feed.zip https://download.data.public.lu/resources/horaires-et-arrets-des-transport-publics-gtfs/20240530-080402/gtfs-20240529-20240621.zip + + - name: Download OSM data + run: curl -o luxembourg-latest.osm.pbf https://download.geofabrik.de/europe/luxembourg-latest.osm.pbf + + - name: Run Shape Generation + uses: gtfs-actions/generate-shapes@v1 + with: + gtfs_file: sample-feed.zip + osm_file: luxembourg-latest.osm.pbf + mot: bus + output_file: modified-feed.zip + + - name: Upload modified feed + uses: actions/upload-artifact@v4 + with: + name: modified-feed + path: modified-feed.zip \ No newline at end of file