Skip to content

Commit

Permalink
Add verifications for nodes and SF network
Browse files Browse the repository at this point in the history
  • Loading branch information
toruseo committed Mar 20, 2024
1 parent fdf0eb2 commit 7c0bf14
Show file tree
Hide file tree
Showing 15 changed files with 3,497 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/run-verifications_random.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run Python verifications (flaky due to random numbers)
name: Run Python verifications involves random route choice and node (flaky)

on:
push:
Expand All @@ -22,3 +22,4 @@ jobs:
run: pip install pytest pytest-rerunfailures setuptools
- name: Run verifications with pytest
run: pytest tests/test_verification_route_choice.py --durations=0 -v
run: pytest tests/test_verification_node.py --durations=0 -v
24 changes: 24 additions & 0 deletions .github/workflows/run-verifications_sioux_falls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Run Python verifications in Sioux Falls network (flaky)

on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 6 * * 1'

jobs:
run-verifications-random:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install uxsim and dependencies
run: pip install .
- name: Install pytest other dependencies
run: pip install pytest pytest-rerunfailures setuptools
- name: Run verifications with pytest
run: pytest tests/test_verification_sioux_falls.py --durations=0 -v
5 changes: 5 additions & 0 deletions tests/dat/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Scenario data.

Source:
siouxfalls_* are derived from Transportation Networks for Research https://github.com/bstabler/TransportationNetworks by Transportation Networks for Research Core Team.
tokyo_arterial_* are derived from OpenStreetMap https://www.openstreetmap.org/.
Loading

0 comments on commit 7c0bf14

Please sign in to comment.