diff options
author | RĂ©mi Flamary <remi.flamary@gmail.com> | 2021-10-27 10:17:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-27 10:17:08 +0200 |
commit | 81db2e7e3c537572cbec0049d8f125b0bdba6393 (patch) | |
tree | 922cc1d2eba65bc8344a45fbf3845414351df24b /.github/workflows/build_tests.yml | |
parent | d7554331fc409fea48ee758fd630909dd9dc4827 (diff) |
[WIP] POT build without installing cython first (#293)
* test build with no dep
* cleaning up stuff
* build wheels
Diffstat (limited to '.github/workflows/build_tests.yml')
-rw-r--r-- | .github/workflows/build_tests.yml | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/.github/workflows/build_tests.yml b/.github/workflows/build_tests.yml index fd0ade6..91631b4 100644 --- a/.github/workflows/build_tests.yml +++ b/.github/workflows/build_tests.yml @@ -30,14 +30,14 @@ jobs: uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} + - name: Install POT + run: | + pip install -e . - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt pip install pytest "pytest-cov<2.6" codecov - - name: Install POT - run: | - pip install -e . - name: Run tests run: | python -m pytest --durations=20 -v test/ ot/ --doctest-modules --ignore ot/gpu/ --cov=ot --color=yes @@ -88,7 +88,6 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r .github/requirements_strict.txt pip install pytest - name: Install POT run: | @@ -112,14 +111,14 @@ jobs: uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} + - name: Install POT + run: | + pip install -e . - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt pip install pytest "pytest-cov<2.6" - - name: Install POT - run: | - pip install -e . - name: Run tests run: | python -m pytest --durations=20 -v test/ ot/ --doctest-modules --ignore ot/gpu/ --cov=ot --color=yes @@ -139,15 +138,15 @@ jobs: uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} + - name: Install POT + run: | + python -m pip install -e . - name: Install dependencies run: | python -m pip install --upgrade pip python -m pip install -r .github/requirements_test_windows.txt python -m pip install torch==1.8.1+cpu -f https://download.pytorch.org/whl/torch_stable.html python -m pip install pytest "pytest-cov<2.6" - - name: Install POT - run: | - python -m pip install -e . - name: Run tests run: | python -m pytest --durations=20 -v test/ ot/ --doctest-modules --ignore ot/gpu/ --cov=ot --color=yes |