Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/measure-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
python -m pip install --upgrade pip
pip install -e .[advanced]
- name: Install pytest other dependencies
run: pip install pytest pytest-rerunfailures pytest-xdist pytest-cov setuptools osmnx requests neatnet geopandas shapely
run: |
# Install testing dependencies with compatible versions to avoid serialization issues
pip install "pytest>=7.4.0,<8.0.0" "pytest-xdist>=3.3.0,<4.0.0" "pytest-rerunfailures>=11.1,<12.0" pytest-cov setuptools osmnx requests neatnet geopandas shapely
- name: Run verifications with pytest
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
- name: Upload coverage reports to Codecov
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/run-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
python -m pip install --upgrade pip
pip install .
- name: Install pytest other dependencies
run: pip install pytest pytest-xdist setuptools gymnasium torch osmnx deap streamlit
run: |
# Install testing dependencies with compatible versions to avoid serialization issues
pip install "pytest>=7.4.0,<8.0.0" "pytest-xdist>=3.3.0,<4.0.0" "pytest-rerunfailures>=11.1,<12.0" setuptools gymnasium torch osmnx deap streamlit
- name: Run examples with pytest
run: pytest -n auto tests/test_examples.py --durations=0 -v
4 changes: 3 additions & 1 deletion .github/workflows/test-functions-python313.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ jobs:
python -m pip install --upgrade pip
pip install .[advanced]
- name: Install pytest other dependencies
run: pip install pytest pytest-rerunfailures pytest-xdist setuptools requests
run: |
# Install testing dependencies with compatible versions to avoid serialization issues
pip install "pytest>=7.4.0,<8.0.0" "pytest-xdist>=3.3.0,<4.0.0" "pytest-rerunfailures>=11.1,<12.0" setuptools requests
- name: Run tests with pytest
run: pytest -n auto tests/test_optional_functions_python313.py --durations=0 -v

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ jobs:
python -m pip install --upgrade pip
pip install .
- name: Install pytest other dependencies
run: pip install pytest pytest-rerunfailures pytest-xdist setuptools osmnx requests
run: |
# Install testing dependencies with compatible versions to avoid serialization issues
pip install "pytest>=7.4.0,<8.0.0" "pytest-xdist>=3.3.0,<4.0.0" "pytest-rerunfailures>=11.1,<12.0" setuptools osmnx requests
- name: Run tests with pytest
run: pytest -n auto tests/test_other_functions.py --durations=0 -v

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
python -m pip install --upgrade pip
pip install uxsim
- name: Install pytest other dependencies
run: pip install pytest pytest-rerunfailures pytest-xdist setuptools
run: |
# Install testing dependencies with compatible versions to avoid serialization issues
pip install "pytest>=7.4.0,<8.0.0" "pytest-xdist>=3.3.0,<4.0.0" "pytest-rerunfailures>=11.1,<12.0" setuptools
- name: Run tests with pytest
run: pytest -n auto tests/test_verification_sioux_falls.py --durations=0 -v
4 changes: 3 additions & 1 deletion .github/workflows/verify-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
python -m pip install --upgrade pip
pip install .
- name: Install pytest other dependencies
run: pip install pytest pytest-rerunfailures pytest-xdist setuptools
run: |
# Install testing dependencies with compatible versions to avoid serialization issues
pip install "pytest>=7.4.0,<8.0.0" "pytest-xdist>=3.3.0,<4.0.0" "pytest-rerunfailures>=11.1,<12.0" setuptools
- name: Run verifications with pytest
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 --durations=0 -v