Skip to content

Commit c8465a5

Browse files
Islam Elkanovylobankov
authored andcommitted
Fix non-supported character in log file name
Running jobs in tarantool-ci fails at the action/upload-artifact runtime if there are broken tests. The reason for the problem is that the path of the test artifacts file contains the `:` character when test has been parametrized. Its non-supported character in the upload action. The action doesn't allow the following characters in artifact path: ",:,<,>,|,*,?. [1] To fix the problem, the `:` character has been replaced with `.`. [1] https://github.com/actions/toolkit/blob/master/packages/artifact/docs/additional-information.md#non-supported-characters Fixes tarantool/tarantool-qa#90
1 parent 31f0ced commit c8465a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/app_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ def __init__(self, _ini=None, test_suite=None):
116116
def logfile(self):
117117
# remove suite name using basename
118118
test_name = os.path.basename(self.current_test.name)
119-
# add :conf_name if any
119+
# add .conf_name if any
120120
if self.current_test.conf_name is not None:
121-
test_name += ':' + self.current_test.conf_name
121+
test_name += '.' + self.current_test.conf_name
122122
# add '.tarantool.log'
123123
file_name = test_name + '.tarantool.log'
124124
# put into vardir

0 commit comments

Comments
 (0)