You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python -m pip install -U scipy scikit-learn # installing without this line will cause errors on GitHub Actions, while instsalling locally won't
84
-
python setup.py install
85
-
fi
86
-
shell: bash
49
+
pip install --upgrade cython jupyter jupyter_contrib_nbextensions numpy scipy scikit-learn # installing without this line will cause errors on GitHub Actions, while instsalling locally won't
50
+
pip install -e .
87
51
88
52
- name: Install test dependencies
89
53
run: |
90
-
if [ "$RUNNER_OS" == "Windows" ]; then
91
-
python.exe -m pip install --upgrade pip
92
-
python.exe -m pip install black pytest
93
-
else
94
-
python -m pip install --upgrade pip
95
-
python -m pip install black pytest
96
-
fi
97
-
shell: bash
54
+
pip install --upgrade pip
55
+
pip install black pytest
98
56
99
57
- name: Unit tests with Pytest
100
58
run: |
101
59
cd tests
102
-
if [ "$RUNNER_OS" == "Windows" ]; then
103
-
python.exe -m pytest . --durations=0
104
-
else
105
-
python -m pytest . --durations=0
106
-
fi
107
-
shell: bash
60
+
python -m pytest . --durations=10
108
61
109
62
- name: Test workflow by config (install from source)
0 commit comments