Improve Pennsylvania [US] #521
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2024 Jonah Brüchert <[email protected]> | |
# SPDX-License-Identifier: CC0-1.0 | |
name: Verfy new data can be imported | |
on: | |
pull_request: | |
paths: | |
- "feeds/**" | |
jobs: | |
test-import: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Fetch branches and submodules | |
run: git fetch --unshallow && git fetch --all && git submodule update --init --checkout --remote | |
- name: Build docker images | |
run: docker build -t transitous . -f ci/container/Containerfile | |
- name: Verify that new feeds can be downloaded and parsed | |
run: | | |
find . -type d -exec chmod 777 {} \; | |
docker run -v $PWD:/transitous -w /transitous transitous ci/fetch-feeds.py merge-request | |
docker run -v $PWD:/transitous -w /transitous transitous src/generate-motis-config.py full |