ci: junit reporter adjustments (#3324)
This commit is contained in:
Родитель
478d4a4745
Коммит
9ab274d3e6
|
@ -129,6 +129,13 @@ jobs:
|
|||
libgtk-3-0 \
|
||||
libgbm1
|
||||
- run-slow-tests
|
||||
- run:
|
||||
when: always # the report is generated on pass or fail
|
||||
name: Make test report paths relative
|
||||
command: |
|
||||
if [ -e ./reports/out/test_output.xml ]; then
|
||||
sed -i.bak "s|`pwd`/||g" ./reports/out/test_output.xml
|
||||
fi
|
||||
- store_test_results:
|
||||
path: ./reports/
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ if (args.length === 0) {
|
|||
const reporterConfig = process.env.CI
|
||||
? {
|
||||
reporter: 'mocha-junit-reporter',
|
||||
'reporter-option': ['mochaFile=./reports/test_output.xml'],
|
||||
'reporter-option': ['mochaFile=./reports/out/test_output.xml'],
|
||||
}
|
||||
: {};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче