summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAlexandre Gramfort <alexandre.gramfort@m4x.org>2020-04-21 17:20:46 +0200
committerGitHub <noreply@github.com>2020-04-21 17:20:46 +0200
commit0b2d808aaebb1cab60a272ea7901d5f77df43a9f (patch)
tree61755f7c89ef575126dcc01d3d77fc6aaaf35267 /.github
parente5931823630010bb5a99586accf09606b0a3bf90 (diff)
Windows CI (#148)
* add Windows build on GH actions
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/pythonpackage.yml55
1 files changed, 54 insertions, 1 deletions
diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml
index c4b0165..19527c3 100644
--- a/.github/workflows/pythonpackage.yml
+++ b/.github/workflows/pythonpackage.yml
@@ -11,7 +11,7 @@ on:
- '**'
jobs:
- build:
+ linux:
runs-on: ubuntu-latest
strategy:
@@ -46,3 +46,56 @@ jobs:
- name: Upload codecov
run: |
codecov
+
+ # macos:
+ # runs-on: macOS-latest
+ # strategy:
+ # max-parallel: 4
+ # matrix:
+ # python-version: [3.7]
+
+ # steps:
+ # - uses: actions/checkout@v1
+ # - name: Set up Python ${{ matrix.python-version }}
+ # uses: actions/setup-python@v1
+ # with:
+ # python-version: ${{ matrix.python-version }}
+ # - name: Install dependencies
+ # run: |
+ # python -m pip install --upgrade pip
+ # pip install -r requirements.txt
+ # pip install pytest "pytest-cov<2.6"
+ # pip install -U "sklearn"
+ # - name: Install POT
+ # run: |
+ # pip install -e .
+ # - name: Run tests
+ # run: |
+ # python -m pytest -v test/ ot/ --doctest-modules --ignore ot/gpu/ --cov=ot
+
+
+ windows:
+ runs-on: windows-2019
+ strategy:
+ max-parallel: 4
+ matrix:
+ python-version: [3.7]
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v1
+ with:
+ python-version: ${{ matrix.python-version }}
+ - name: Install dependencies
+ run: |
+ python -m pip install --upgrade pip
+ pip install -r requirements.txt
+ pip install pytest "pytest-cov<2.6"
+ pip install -U "sklearn"
+ - name: Install POT
+ run: |
+ pip install -e .
+ - name: Run tests
+ run: |
+ python -m pytest -v test/ ot/ --doctest-modules --ignore ot/gpu/ --cov=ot