diff options
author | RĂ©mi Flamary <remi.flamary@gmail.com> | 2023-06-09 20:26:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-09 20:26:52 +0200 |
commit | 6c1e1f3e064165d37e22acc866c6fff56e3ab6ad (patch) | |
tree | 354aa9c554a9e7490c93bd2ac579675f1b933329 /.github | |
parent | 5faa4fbdb1a64351a42d31dd6f54f0402c29c405 (diff) |
[MRG] Update tests and documentation (#484)
* remove old macos and windows tets update requirements
* speedup ssw and continuaous ot exmaples
* speedup regpath and variane
* speedup conv 2d example + continuous stick
* speedup regpath
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build_tests.yml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/.github/workflows/build_tests.yml b/.github/workflows/build_tests.yml index a2d26f1..a5e876b 100644 --- a/.github/workflows/build_tests.yml +++ b/.github/workflows/build_tests.yml @@ -83,7 +83,7 @@ jobs: pip install -e . - name: Run tests run: | - python -m pytest --durations=20 -v test/ ot/ --ignore ot/gpu/ --color=yes + python -m pytest --durations=20 -v test/ ot/ --color=yes macos: @@ -92,7 +92,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.10"] steps: - uses: actions/checkout@v1 @@ -107,10 +107,10 @@ jobs: run: | python -m pip install --upgrade pip pip install -r requirements.txt - pip install pytest "pytest-cov<2.6" + pip install pytest - name: Run tests run: | - python -m pytest --durations=20 -v test/ ot/ --doctest-modules --ignore ot/gpu/ --cov=ot --color=yes + python -m pytest --durations=20 -v test/ ot/ --color=yes windows: @@ -119,7 +119,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.10"] steps: - uses: actions/checkout@v1 @@ -151,8 +151,8 @@ jobs: - name: Install dependencies run: | 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" + python -m pip3 install torch torchvision torchaudio + python -m pip install pytest - name: Run tests run: | - python -m pytest --durations=20 -v test/ ot/ --doctest-modules --ignore ot/gpu/ --cov=ot --color=yes + python -m pytest --durations=20 -v test/ ot/ --color=yes |