Skip to content

Commit 5741d4d

Browse files
Copilottoruseo
andcommitted
Update remaining workflow files with consistent pytest version specifications
Co-authored-by: toruseo <[email protected]>
1 parent a8523c5 commit 5741d4d

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/measure-coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
pip install -e .[advanced]
2525
- name: Install pytest other dependencies
2626
run: |
27-
# Install testing dependencies with compatible versions to avoid serialization issues
28-
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
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
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
pip install .
2626
- name: Install pytest other dependencies
2727
run: |
28-
# Install testing dependencies with compatible versions to avoid serialization issues
29-
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
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
3030
- name: Run examples with pytest
3131
run: pytest -n auto tests/test_examples.py --durations=0 -v

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
pip install .[advanced]
2323
- name: Install pytest other dependencies
2424
run: |
25-
# Install testing dependencies with compatible versions to avoid serialization issues
26-
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
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
2727
- name: Run tests with pytest
2828
run: pytest -n auto tests/test_optional_functions_python313.py --durations=0 -v
2929

.github/workflows/test-pip.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
pip install uxsim
2626
- name: Install pytest other dependencies
2727
run: |
28-
# Install testing dependencies with compatible versions to avoid serialization issues
29-
pip install "pytest>=7.4.0,<8.0.0" "pytest-xdist>=3.3.0,<4.0.0" "pytest-rerunfailures>=11.1,<12.0" setuptools
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
3030
- name: Run tests with pytest
3131
run: pytest -n auto tests/test_verification_sioux_falls.py --durations=0 -v

0 commit comments

Comments
 (0)