Skip to content

Commit

Permalink
fix fetch tests with parallelism
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurZucker committed May 1, 2024
1 parent 3ecf0ec commit 52b35f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/create_circleci_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ def to_dict(self):
steps.append({"store_artifacts": {"path": "~/transformers/splitted_tests.txt"}})

test_command = ""
if self.timeout:
test_command = f"timeout {self.timeout} "
if self.command_timeout:
test_command = f"timeout {self.command_timeout} "
test_command += f"python3 -m pytest -rsfE -p no:warnings --tb=line -n {self.pytest_num_workers} " + " ".join(pytest_flags)
test_command += " $(cat splitted_tests.txt)"
if self.marker is not None:
Expand Down

0 comments on commit 52b35f7

Please sign in to comment.