show -rs to show skip reasons (#30318)

This commit is contained in:
Arthur
2024-04-23 08:05:42 +02:00
committed by GitHub
parent e74d793a3c
commit 6c1295a0d8
3 changed files with 5 additions and 5 deletions

View File

@@ -142,7 +142,7 @@ class CircleCIJob:
test_command = ""
if self.command_timeout:
test_command = f"timeout {self.command_timeout} "
test_command += f"python -m pytest --junitxml=test-results/junit.xml -n {self.pytest_num_workers} " + " ".join(pytest_flags)
test_command += f"python -m pytest -rs --junitxml=test-results/junit.xml -n {self.pytest_num_workers} " + " ".join(pytest_flags)
if self.parallelism == 1:
if self.tests_to_run is None:
@@ -196,7 +196,7 @@ class CircleCIJob:
test_command = ""
if self.timeout:
test_command = f"timeout {self.timeout} "
test_command += f"python -m pytest -n {self.pytest_num_workers} " + " ".join(pytest_flags)
test_command += f"python -m pytest -rs -n {self.pytest_num_workers} " + " ".join(pytest_flags)
test_command += " $(cat splitted_tests.txt)"
if self.marker is not None:
test_command += f" -m {self.marker}"