Skip to content

Commit 1c869c7

Browse files
committed
Merge branch 'main' into develop
2 parents 19ac246 + b3d3a5b commit 1c869c7

File tree

11 files changed

+224
-142
lines changed

11 files changed

+224
-142
lines changed

.github/workflows/measure-coverage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
- name: Install uxsim and dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install -e .[advanced]
24+
pip install -e .[dev,advanced]
2525
- name: Install pytest other dependencies
2626
run: |
27-
# Install testing dependencies with compatible versions for parallel execution
28-
pip install "pytest>=8.4.0" "pytest-xdist>=3.8.0" "pytest-rerunfailures>=16.0" pytest-cov setuptools osmnx requests neatnet geopandas shapely
27+
# Install optional packages required for these tests
28+
pip install osmnx requests
2929
- name: Run verifications with pytest
3030
run: pytest -n auto tests/test_verification_straight_road.py tests/test_verification_route_choice.py tests/test_verification_node.py tests/test_verification_exceptional.py tests/test_verification_sioux_falls.py tests/test_verification_multilane.py tests/test_verification_taxi.py tests/test_verification_dta_solvers.py tests/test_other_functions.py tests/test_optional_functions_python313.py --durations=0 -v --cov=uxsim --cov-report=xml --cov-config=.github/.coveragerc
3131
- name: Upload coverage reports to Codecov

.github/workflows/run-examples.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
- name: Install uxsim and dependencies
2323
run: |
2424
python -m pip install --upgrade pip
25-
pip install .
25+
pip install .[dev]
2626
- name: Install pytest other dependencies
2727
run: |
28-
# Install testing dependencies with compatible versions for parallel execution
29-
pip install "pytest>=8.4.0" "pytest-xdist>=3.8.0" "pytest-rerunfailures>=16.0" setuptools gymnasium torch osmnx deap streamlit
28+
# Install optional packages required for these tests
29+
pip install gymnasium torch osmnx deap streamlit
3030
- name: Run examples with pytest
3131
run: pytest -n auto tests/test_examples.py --durations=0 -v

.github/workflows/run-notebook-demos-extra.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install pytest jupyter nbformat setuptools gymnasium torch osmnx deap
25-
pip install .
24+
pip install .[dev]
25+
pip install gymnasium torch osmnx deap
2626
- name: Run tests
2727
run: pytest tests/test_notebook_demos_extra.py --durations=0 -s -v

.github/workflows/run-notebook-demos.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install pytest jupyter nbformat
25-
pip install .
24+
pip install .[dev]
2625
- name: Run tests
2726
run: pytest tests/test_notebook_demos.py --durations=0 -s -v

.github/workflows/test-functions-python313.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
- name: Install uxsim and dependencies
2020
run: |
2121
python -m pip install --upgrade pip
22-
pip install .[advanced]
22+
pip install .[dev,advanced]
2323
- name: Install pytest other dependencies
2424
run: |
25-
# Install testing dependencies with compatible versions for parallel execution
26-
pip install "pytest>=8.4.0" "pytest-xdist>=3.8.0" "pytest-rerunfailures>=16.0" setuptools requests
25+
# Install optional packages required for these tests
26+
pip install requests
2727
- name: Run tests with pytest
2828
run: pytest -n auto tests/test_optional_functions_python313.py --durations=0 -v
2929

.github/workflows/test-functions.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
- name: Install uxsim and dependencies
2020
run: |
2121
python -m pip install --upgrade pip
22-
pip install .
22+
pip install .[dev]
2323
- name: Install pytest other dependencies
2424
run: |
25-
# Install testing dependencies with compatible versions for parallel execution
26-
pip install "pytest>=8.4.0" "pytest-xdist>=3.8.0" "pytest-rerunfailures>=16.0" setuptools osmnx requests
25+
# Install optional packages required for these tests
26+
pip install osmnx requests
2727
- name: Run tests with pytest
2828
run: pytest -n auto tests/test_other_functions.py --durations=0 -v
2929

.github/workflows/test-pip.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ jobs:
2222
- name: Install uxsim and dependencies
2323
run: |
2424
python -m pip install --upgrade pip
25-
pip install uxsim
26-
- name: Install pytest other dependencies
27-
run: |
28-
# Install testing dependencies with compatible versions for parallel execution
29-
pip install "pytest>=8.4.0" "pytest-xdist>=3.8.0" "pytest-rerunfailures>=16.0" setuptools
25+
pip install uxsim[dev]
3026
- name: Run tests with pytest
3127
run: pytest -n auto tests/test_verification_sioux_falls.py --durations=0 -v

.github/workflows/verify-module.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ jobs:
1919
- name: Install uxsim and dependencies
2020
run: |
2121
python -m pip install --upgrade pip
22-
pip install .
23-
- name: Install pytest other dependencies
24-
run: |
25-
# Install testing dependencies with compatible versions for parallel execution
26-
pip install "pytest>=8.4.0" "pytest-xdist>=3.8.0" "pytest-rerunfailures>=16.0" setuptools
22+
pip install .[dev]
2723
- name: Run verifications with pytest
2824
run: pytest -n auto tests/test_verification_straight_road.py tests/test_verification_route_choice.py tests/test_verification_node.py tests/test_verification_exceptional.py tests/test_verification_sioux_falls.py tests/test_verification_multilane.py tests/test_verification_taxi.py tests/test_verification_dta_solvers.py tests/test_wrapper_functions.py --durations=0 -v

0 commit comments

Comments
 (0)