Skip to content

Commit 93198b0

Browse files
committed
add windows
1 parent 20c76e0 commit 93198b0

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,34 @@ jobs:
4848
codecov
4949
5050
macos_win:
51-
runs-on: [macOS-latest, windows-2019]
51+
runs-on: macOS-latest
52+
strategy:
53+
max-parallel: 4
54+
matrix:
55+
python-version: [3.7]
56+
57+
steps:
58+
- uses: actions/checkout@v1
59+
- name: Set up Python ${{ matrix.python-version }}
60+
uses: actions/setup-python@v1
61+
with:
62+
python-version: ${{ matrix.python-version }}
63+
- name: Install dependencies
64+
run: |
65+
python -m pip install --upgrade pip
66+
pip install -r requirements.txt
67+
pip install pytest "pytest-cov<2.6"
68+
pip install -U "sklearn"
69+
- name: Install POT
70+
run: |
71+
pip install -e .
72+
- name: Run tests
73+
run: |
74+
python -m pytest -v test/ ot/ --doctest-modules --ignore ot/gpu/ --cov=ot
75+
76+
77+
windows:
78+
runs-on: windows-2019
5279
strategy:
5380
max-parallel: 4
5481
matrix:

0 commit comments

Comments
 (0)