Skip to content

Quick fix, will investigate #22

Quick fix, will investigate

Quick fix, will investigate #22

Workflow file for this run

name: Build and Test
on:
push:
pull_request:
workflow_dispatch:
jobs:
build-and-test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: true
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: 3.12
cache: pip
- name: Install Python dependencies
run: |
pip install -r scripts/requirements.txt
- name: Install C++ dependencies
run: |
sudo apt update
sudo apt install cmake qt6-base-dev
- name: Compile C++
run: |
cmake -DCMAKE_BUILD_TYPE=Release -S . -B build
cmake --build build --parallel
- name: Prepare GTFS data
run: |
python3 scripts/convert.py
- name: Run tests
working-directory: build
run: |
ctest -V --output-on-failure