Skip to content

Commit 493a2c7

Browse files
author
Daniel Kopka
committed
[4.0] proper location for xml files
1 parent 5a848b0 commit 493a2c7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ run_it.py
1111
*.sublime-project
1212
*.sublime-workspace
1313
.idea
14+
junit

tests/__main__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
import os
12
import unittest
23
import xmlrunner
34

45

56
if __name__ == '__main__':
7+
output = os.path.join(os.getenv('CIRCLE_TEST_REPORTS', ''), 'junit')
68
suite = unittest.TestLoader().discover('.')
7-
runner = xmlrunner.XMLTestRunner(output='reports', verbosity=2,
9+
runner = xmlrunner.XMLTestRunner(output=output, verbosity=2,
810
failfast=False, buffer=False)
911
runner.run(suite)

0 commit comments

Comments
 (0)