Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
When running CI on windows, explicitly pip install scikit-misc
Browse files Browse the repository at this point in the history
  • Loading branch information
segsell committed Sep 22, 2021
1 parent 3e7653c commit 13a262f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ jobs:
shell: bash -l {0}
run: conda install -c conda-forge tox-conda

###############################################################################
# tox-conda fixes on Windows (https://github.com/tox-dev/tox-conda/issues/37) #
###############################################################################

- name: Install fixes for Python 3+ on Windows
if: runner.os == 'Windows'
shell: bash -l {0}
run: pip install scikit-misc

- name: Run pytest
shell: bash -l {0}
run: tox -e pytest
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ dependencies:
- tox-conda
- pip:
- kernreg
- scikit-misc==0.1.3
- scikit-misc<=0.1.3
- scikit-learn
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ conda_channels =
deps =
kernreg
scikit-learn
scikit-misc==0.1.3
scikit-misc<=0.1.3
commands =
pytest {posargs}

Expand Down

0 comments on commit 13a262f

Please sign in to comment.