Skip to content

Commit

Permalink
restricting pandas in ci #21 #3
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Jan 24, 2024
1 parent 9b6ca8c commit d383aea
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
if: matrix.build_type == 'full' && (github.repository == 'DLR-TS/sumo' || matrix.compiler == 'gcc')
run: |
sudo apt-get install python3-pyproj python3-rtree python3-pandas python3-flake8 python3-autopep8 python3-scipy python3-pulp python3-ezdxf python3-pyperclip python3-polib
python -m pip install ortools==9.5.2237
python -m pip install -r sumo/tools/req_ci.txt
python -m pip install -r sumo/tools/requirements.txt
cd sumo/cmake-build
make CTEST_OUTPUT_ON_FAILURE=1 examples test
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ jobs:
- name: Examples and extra tests
if: matrix.build_type == 'extra' && github.repository == 'DLR-TS/sumo'
run: |
python -m pip install -r sumo/tools/req_ci.txt
python -m pip install -r sumo/tools/requirements.txt
cd sumo/build_msvc
cmake --build . --config Release --target examples
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/wheel-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ jobs:
- name: Running "sumo in the wheel" tests
if: github.repository == 'DLR-TS/sumo'
run: |
python -m pip install -r sumo/tools/req_ci.txt
python -m pip install -r tools/requirements.txt
tests/runTests.sh -b ci -v ci.fast
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/wheel-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ jobs:
- name: Running "sumo in the wheel" tests
if: github.repository == 'DLR-TS/sumo'
run: |
python -m pip install -r tools/req_ci.txt
python -m pip install -r tools/requirements.txt
$env:TEXTTEST_CI_APPS = "-v ci.fast -a activitygen,dfrouter,duarouter,jtrrouter,marouter,netgen,od2trips,polyconvert,netconvert,sumo"
tests\runCiTests.bat $env:pythonLocation\Scripts\texttestc.py
Expand Down
4 changes: 4 additions & 0 deletions tools/req_ci.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# these requirements are used to make sure the tests run only with versions known to work on GitHub actions
# the "normal" requirements should be used in addition
ortools==9.5.2237
pandas<2.2.0

0 comments on commit d383aea

Please sign in to comment.