Skip to content

Commit

Permalink
always run checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurZucker committed Apr 29, 2024
1 parent 8c89d25 commit 78efc6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/create_circleci_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ def to_dict(self):
test_command = f"({test_command} | tee tests_output.txt) || true"
steps.append({"run": {"name": "Run tests", "command": test_command}})

steps.append({"run": {"name": "Show skip reasons", "command": f"python3 .circleci/parse_test_outputs.py --file ~/transformers/tests_output.txt --skip || true"}})
steps.append({"run": {"name": "Show fail reasons", "command": f"python3 .circleci/parse_test_outputs.py --file ~/transformers/tests_output.txt --fail || true"}})
steps.append({"run": {"name": "Show errors", "command": f"python3 .circleci/parse_test_outputs.py --file ~/transformers/tests_output.txt --errors || true"}})
steps.append({"run": {"name": "Show skip reasons", "when": "always", "command": f"python3 .circleci/parse_test_outputs.py --file ~/transformers/tests_output.txt --skip"}})
steps.append({"run": {"name": "Show fail reasons", "when": "always", "command": f"python3 .circleci/parse_test_outputs.py --file ~/transformers/tests_output.txt --fail"}})
steps.append({"run": {"name": "Show errors", "when": "always", "command": f"python3 .circleci/parse_test_outputs.py --file ~/transformers/tests_output.txt --errors"}})

steps.append({"store_test_results": {"path": "test-results"}})
steps.append({"store_artifacts": {"path": "~/transformers/tests_output.txt"}})
Expand Down

0 comments on commit 78efc6f

Please sign in to comment.