Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
jbruechert committed Feb 16, 2024
1 parent 777a356 commit 856a117
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/data-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# SPDX-FileCopyrightText: 2024 Jonah Brüchert <[email protected]>
# SPDX-License-Identifier: CC0-1.0

name: Import data

on: [push, pull_request]

jobs:
import:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Build docker images
run: docker build -t transitous . < ci/container/Containerfile
- name: Fetch GTFS-Feeds
run: docker run -it -v $PWD:/transitous -w /transitous transitous ci/fetch-feeds.py timer
- name: Generate MOTIS config file
run: docker run -it -v $PWD:/transitous -w /transitous transitous ci/generate-motis-config.py
3 changes: 3 additions & 0 deletions ci/container/Containerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2024 Jonah Brüchert <[email protected]>
# SPDX-License-Identifier: CC0-1.0

FROM docker.io/debian:bookworm-slim

RUN apt-get update && apt-get install git python3-requests golang -y && apt clean
Expand Down

0 comments on commit 856a117

Please sign in to comment.