Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
0188739a
Unverified
Commit
0188739a
authored
Sep 07, 2023
by
Yih-Dar
Committed by
GitHub
Sep 07, 2023
Browse files
Fix CircleCI config (#26023)
fix Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
df04959e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
.circleci/create_circleci_config.py
.circleci/create_circleci_config.py
+1
-1
No files found.
.circleci/create_circleci_config.py
View file @
0188739a
...
...
@@ -231,7 +231,7 @@ class CircleCIJob:
check_test_command
+=
f
'cat reports/
{
self
.
job_name
}
/failures_short.txt; '
check_test_command
+=
'echo ""; echo ""; '
py_command
=
f
'import os; fp = open("reports/
{
self
.
job_name
}
/summary_short.txt"); failed = os.linesep.join([x for x in fp.read().split(os.linesep) if x.startswith("FAILED ", "ERROR ")]); fp.close(); fp = open("summary_short.txt", "w"); fp.write(failed); fp.close()'
py_command
=
f
'import os; fp = open("reports/
{
self
.
job_name
}
/summary_short.txt"); failed = os.linesep.join([x for x in fp.read().split(os.linesep) if x.startswith(
(
"FAILED ", "ERROR ")
)
]); fp.close(); fp = open("summary_short.txt", "w"); fp.write(failed); fp.close()'
check_test_command
+=
f
"$(python3 -c '
{
py_command
}
'); "
check_test_command
+=
f
'cat summary_short.txt; echo ""; exit -1; '
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment