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.yml16
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