summaryrefslogtreecommitdiff
path: root/.github/workflows/build_tests.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build_tests.yml')
-rw-r--r--.github/workflows/build_tests.yml32
1 files changed, 30 insertions, 2 deletions
diff --git a/.github/workflows/build_tests.yml b/.github/workflows/build_tests.yml
index 652655f..41b08b3 100644
--- a/.github/workflows/build_tests.yml
+++ b/.github/workflows/build_tests.yml
@@ -2,9 +2,9 @@ name: build
on:
push:
- branches:
- - '**'
+
pull_request:
+
create:
branches:
- 'master'
@@ -49,6 +49,34 @@ jobs:
codecov
+ linux-minimal-deps:
+
+ runs-on: ubuntu-latest
+ strategy:
+ max-parallel: 4
+ matrix:
+ python-version: [3.6]
+
+ 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 .github/requirements_strict.txt
+ pip install pytest
+ pip install -U "sklearn"
+ - name: Install POT
+ run: |
+ pip install -e .
+ - name: Run tests
+ run: |
+ python -m pytest -v test/ ot/ --ignore ot/gpu/
+
+
macos:
runs-on: macOS-latest
strategy: