We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bdd396 commit fe5ffa8Copy full SHA for fe5ffa8
.circleci/config.yml
@@ -83,6 +83,8 @@ jobs:
83
export BATS_TEST_LIST=$(bats -l test | circleci tests split --split-by=timings | tr '\n' ' ')
84
echo "This node will run ${BATS_TEST_LIST}"
85
mkdir -p reports
86
+ bats -l test > reports/list
87
+ bats -l test | circleci tests split --split-by=timings > reports/mylist
88
bats test | tee reports/test-report
89
bash src/parse-taps.bash reports/test-report > reports/bats_junit_report.xml
90
- pr-comment
src/parse-taps.bash
@@ -3,7 +3,7 @@
3
head='<?xml version="1.0"?>\n<testsuite>'
4
foot='</testsuite>'
5
6
-test='<testcase name="%s" time="%d" />'
+test='<testcase file="%s" name="%s" time="%d" />'
7
8
parse_it(){
9
$line=$1
0 commit comments