File tree Expand file tree Collapse file tree 2 files changed +55
-1
lines changed Expand file tree Collapse file tree 2 files changed +55
-1
lines changed Original file line number Diff line number Diff line change 11
11
- ' **'
12
12
13
13
jobs :
14
- build :
14
+ linux :
15
15
16
16
runs-on : ubuntu-latest
17
17
strategy :
46
46
- name : Upload codecov
47
47
run : |
48
48
codecov
49
+
50
+ # macos:
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
79
+ strategy :
80
+ max-parallel : 4
81
+ matrix :
82
+ python-version : [3.7]
83
+
84
+ steps :
85
+ - uses : actions/checkout@v1
86
+ - name : Set up Python ${{ matrix.python-version }}
87
+ uses : actions/setup-python@v1
88
+ with :
89
+ python-version : ${{ matrix.python-version }}
90
+ - name : Install dependencies
91
+ run : |
92
+ python -m pip install --upgrade pip
93
+ pip install -r requirements.txt
94
+ pip install pytest "pytest-cov<2.6"
95
+ pip install -U "sklearn"
96
+ - name : Install POT
97
+ run : |
98
+ pip install -e .
99
+ - name : Run tests
100
+ run : |
101
+ python -m pytest -v test/ ot/ --doctest-modules --ignore ot/gpu/ --cov=ot
Original file line number Diff line number Diff line change 3
3
[ ![ PyPI version] ( https://badge.fury.io/py/POT.svg )] ( https://badge.fury.io/py/POT )
4
4
[ ![ Anaconda Cloud] ( https://anaconda.org/conda-forge/pot/badges/version.svg )] ( https://anaconda.org/conda-forge/pot )
5
5
[ ![ Build Status] ( https://travis-ci.org/PythonOT/POT.svg?branch=master )] ( https://travis-ci.org/PythonOT/POT )
6
+ [ ![ Build Status] ( https://github.com/PythonOT/POT/workflows/Linux%7CWin%7CMacOS/badge.svg )] ( https://github.com/PythonOT/POT/actions )
6
7
[ ![ Codecov Status] ( https://codecov.io/gh/PythonOT/POT/branch/master/graph/badge.svg )] ( https://codecov.io/gh/PythonOT/POT )
7
8
[ ![ Documentation Status] ( https://readthedocs.org/projects/pot/badge/?version=latest )] ( http://pot.readthedocs.io/en/latest/?badge=latest )
8
9
[ ![ Downloads] ( https://pepy.tech/badge/pot )] ( https://pepy.tech/project/pot )
You can’t perform that action at this time.
0 commit comments