Add timeout to CI. (#12684)

* Global 60-300 seconds timeout

* Add verbose option

* [skip ci] typo
This commit is contained in:
Lysandre Debut
2021-07-13 21:13:18 +02:00
committed by GitHub
parent 78f5fe1416
commit 83f025125d
5 changed files with 21 additions and 19 deletions

View File

@@ -122,7 +122,7 @@ _deps = [
"pyyaml>=5.1",
"pydantic",
"pytest",
"pytest-sugar",
"pytest-timeout",
"pytest-xdist",
"python>=3.6.0",
"ray[tune]",
@@ -259,7 +259,7 @@ extras["codecarbon"] = deps_list("codecarbon")
extras["sentencepiece"] = deps_list("sentencepiece", "protobuf")
extras["testing"] = (
deps_list(
"pytest", "pytest-xdist", "timeout-decorator", "parameterized", "psutil", "datasets", "pytest-sugar", "black", "sacrebleu", "rouge-score", "nltk"
"pytest", "pytest-xdist", "timeout-decorator", "parameterized", "psutil", "datasets", "pytest-timeout", "black", "sacrebleu", "rouge-score", "nltk"
)
+ extras["retrieval"]
+ extras["modelcreation"]