diff options
author | Annie Tallund <annie.tallund@arm.com> | 2023-11-22 16:08:12 +0100 |
---|---|---|
committer | Annie Tallund <annie.tallund@arm.com> | 2023-12-04 12:30:53 +0100 |
commit | 60e97eb8711eee9a682bc58820ca3e218d0baa56 (patch) | |
tree | 7a1a3b0430790688f5079587d11d67aa005f6fce /tox.ini | |
parent | 2b5f217fb21e2d100baabd6161c8470b65669ed9 (diff) | |
download | mlia-60e97eb8711eee9a682bc58820ca3e218d0baa56.tar.gz |
MLIA-136 Add flaky dependency for unstable tests
- https://github.com/box/flaky
- Is set to re-run tests marked with @flaky
- Provides a report on failures
- Add flaky guard to tests/test_nn_tensorflow_optimizations_clustering.py
Signed-off-by: Annie Tallund <annie.tallund@arm.com>
Change-Id: I6795fd8bb2c38be6513f3689c3eeb805e7976add
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,7 +9,7 @@ description = Run the unit tests. deps = pytest==7.4.0 commands = - pytest {posargs:tests/} + pytest --no-success-flaky-report {posargs:tests/} [testenv:{e2e,e2e_setup}] description = Run the end-to-end tests. @@ -37,7 +37,7 @@ deps = {[testenv:test]deps} pytest-cov==4.1.0 commands = - pytest --cov=mlia --cov-report term-missing --cov-fail-under=95 tests/ + pytest --cov=mlia --cov-report term-missing --cov-fail-under=95 --no-success-flaky-report tests/ [testenv:{lint,lint_setup}] description = Run and setup the pre-commit hooks. |