File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -9,17 +9,15 @@ set -e # Exit immediately if a command exits with a non-zero status.
9
9
set -u # Treat unset variables as an error when substituting.
10
10
set -x # Print command traces before executing command.
11
11
12
- mkdir -p ${CIRCLE_TEST_REPORTS} /
13
- for report in $( ls ~ /scratch/* .xml ) ; do
14
- rname=$( basename $report )
15
- cp ${report} ${CIRCLE_TEST_REPORTS} /${rname:: -4} _${CIRCLE_NODE_INDEX} .xml
16
- done
12
+ mkdir -p ${CIRCLE_TEST_REPORTS} /unittests ${CIRCLE_TEST_REPORTS} /smoketest
13
+ cp ${SCRATCH} /coverage* .xml ${CIRCLE_TEST_REPORTS} /unittests/
14
+ cp ${SCRATCH} /smoketests* .xml ${CIRCLE_TEST_REPORTS} /smoketest/
17
15
18
16
# Send coverage data to codecov.io
19
17
curl -so codecov.io https://codecov.io/bash
20
18
chmod 755 codecov.io
21
19
22
- find " ${CIRCLE_TEST_REPORTS} /" -name ' coverage *.xml' -print0 | \
20
+ find " ${CIRCLE_TEST_REPORTS} /unittests " -name ' *.xml' -print0 | \
23
21
xargs -0 -I file ./codecov.io -f file -t " ${CODECOV_TOKEN} " -F unittests
24
- find " ${CIRCLE_TEST_REPORTS} /" -name ' smoketests *.xml' -print0 | \
22
+ find " ${CIRCLE_TEST_REPORTS} /smoketest " -name ' *.xml' -print0 | \
25
23
xargs -0 -I file ./codecov.io -f file -t " ${CODECOV_TOKEN} " -F smoketests
You can’t perform that action at this time.
0 commit comments