Tests run on Docker (#10681)

* Tests run on Docker

Co-authored-by: Morgan <funtowiczmo@gmail.com>

* Comments from code review

* Reply to itself

* Dependencies

Co-authored-by: Morgan <funtowiczmo@gmail.com>
This commit is contained in:
Lysandre Debut
2021-03-15 17:28:01 -04:00
committed by GitHub
parent d41dd5359b
commit 58f672e65c
7 changed files with 414 additions and 373 deletions

View File

@@ -137,6 +137,17 @@ def slow(test_case):
return test_case
def tooslow(test_case):
"""
Decorator marking a test as too slow.
Slow tests are skipped while they're in the process of being fixed. No test should stay tagged as "tooslow" as
these will not be tested by the CI.
"""
return unittest.skip("test is too slow")(test_case)
def custom_tokenizers(test_case):
"""
Decorator marking a test for a custom tokenizer.