diff options
author | RĂ©mi Flamary <remi.flamary@gmail.com> | 2021-06-17 11:46:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-17 11:46:37 +0200 |
commit | 8ef3341a472909f223ec0f678f11f136f55c1406 (patch) | |
tree | 162cbd7f7a0e3bd87c2e3b5fe61f70f25ec951c5 /.github | |
parent | 2dbeeda9308029a8e8db56bed07d48f4d5718efb (diff) |
[MRG] Speedup tests (#262)
* speedup tests
* add color to tests and timings
* add test unbalanced
* stupid missing -
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build_tests.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/build_tests.yml b/.github/workflows/build_tests.yml index 92a07b5..fd0ade6 100644 --- a/.github/workflows/build_tests.yml +++ b/.github/workflows/build_tests.yml @@ -40,7 +40,7 @@ jobs: pip install -e . - name: Run tests run: | - python -m pytest -v test/ ot/ --doctest-modules --ignore ot/gpu/ --cov=ot --color=yes + python -m pytest --durations=20 -v test/ ot/ --doctest-modules --ignore ot/gpu/ --cov=ot --color=yes - name: Upload codecov run: | codecov @@ -95,7 +95,7 @@ jobs: pip install -e . - name: Run tests run: | - python -m pytest -v test/ ot/ --ignore ot/gpu/ + python -m pytest --durations=20 -v test/ ot/ --ignore ot/gpu/ --color=yes macos: @@ -122,7 +122,7 @@ jobs: pip install -e . - name: Run tests run: | - python -m pytest -v test/ ot/ --doctest-modules --ignore ot/gpu/ --cov=ot + python -m pytest --durations=20 -v test/ ot/ --doctest-modules --ignore ot/gpu/ --cov=ot --color=yes windows: @@ -150,4 +150,4 @@ jobs: python -m pip install -e . - name: Run tests run: | - python -m pytest -v test/ ot/ --doctest-modules --ignore ot/gpu/ --cov=ot + python -m pytest --durations=20 -v test/ ot/ --doctest-modules --ignore ot/gpu/ --cov=ot --color=yes |