Skip to content

Speedup route search algorithm in RouteChoice class by ~60x #141

Speedup route search algorithm in RouteChoice class by ~60x

Speedup route search algorithm in RouteChoice class by ~60x #141

Workflow file for this run

name: Run examples
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 6 * * 1'
jobs:
run-examples:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uxsim and dependencies
run: pip install .
- name: Install pytest other dependencies
run: pip install pytest setuptools gymnasium torch osmnx
- name: Run examples with pytest
run: pytest tests/test_examples.py --durations=0 -v