Skip to content

Commit

Permalink
Add debugging information for Windows tests (#2730)
Browse files Browse the repository at this point in the history
* Add debugging information for Windows tests

Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>

* Add verbosity to unit tests

Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>

* Lift version caps for psutil to use wheels on modern Python

Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>

---------

Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>
  • Loading branch information
astrojuanlu authored Jun 27, 2023
1 parent 4536caf commit 513341f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .circleci/continue_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,12 @@ commands:
- run:
name: Install GDAL, Fiona and pytables
command: conda activate kedro_builder; conda install gdal fiona pytables -c conda-forge -y
- run:
name: Show pip information
command: conda activate kedro_builder; pip debug --verbose
- run:
name: Install all requirements
command: conda activate kedro_builder; pip install -r test_requirements.txt -U
command: conda activate kedro_builder; pip install -v -r test_requirements.txt -U
- run:
name: Print Python environment
command: conda activate kedro_builder; make print-python-env
Expand Down Expand Up @@ -245,14 +248,14 @@ jobs:
steps:
- run:
name: Run unit tests in parallel
command: make test
command: PYTEST_ADDOPTS="-v" make test
- when:
condition:
equal: [ "3.10", <<parameters.python_version>> ]
steps:
- run:
name: Run unit tests sequentially
command: pytest tests --cov-config pyproject.toml
command: pytest -v tests --cov-config pyproject.toml


win_unit_tests:
Expand Down
2 changes: 1 addition & 1 deletion features/windows_reqs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# everything, so just this subset will be enough for CI
behave==1.2.6
pandas~=1.3
psutil==5.8.0
psutil~=5.8
requests~=2.20
toml~=0.10.1
PyYAML>=4.2, <7.0
2 changes: 1 addition & 1 deletion test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pandas~=1.3 # 1.3 for read_xml/to_xml
Pillow~=9.0
plotly>=4.8.0, <6.0
pre-commit>=2.9.2, <3.0 # The hook `mypy` requires pre-commit version 2.9.2.
psutil==5.8.0
psutil~=5.8
pyarrow>=1.0, <7.0
pylint>=2.17.0, <3.0
pyproj~=3.0
Expand Down

0 comments on commit 513341f

Please sign in to comment.