File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,6 @@ 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
- # Place py.test reports in folders
13
- for f in $( find $SCRATCH / -name " pytest*.xml" ) ; do
14
- folder=$( basename ${f:: -4} )
15
- mkdir -p ${CIRCLE_TEST_REPORTS} /$folder
16
- cp $f ${CIRCLE_TEST_REPORTS} /$folder /pytest.xml
17
- done
18
-
19
12
# Send coverage data to codecov.io
20
13
curl -so codecov.io https://codecov.io/bash
21
14
chmod 755 codecov.io
@@ -25,7 +18,8 @@ find "${SCRATCH}/" -name 'coverage*.xml' -maxdepth 1 -print0 | \
25
18
find " ${SCRATCH} /" -name ' smoketest*.xml' -maxdepth 1 -print0 | \
26
19
xargs -0 -I file ./codecov.io -f file -t " ${CODECOV_TOKEN} " -F smoketests
27
20
28
- # Place coverage in the correct folders
29
- mkdir -p ${CIRCLE_TEST_REPORTS} /unittests ${CIRCLE_TEST_REPORTS} /smoketest
30
- cp ${SCRATCH} /coverage* .xml ${CIRCLE_TEST_REPORTS} /unittests/ || true
31
- cp ${SCRATCH} /smoketest* .xml ${CIRCLE_TEST_REPORTS} /smoketest/ || true
21
+ # Place test and coverage in the tests folder
22
+ mkdir -p ${CIRCLE_TEST_REPORTS} /tests/
23
+ cp ${SCRATCH} /pytest* .xml ${CIRCLE_TEST_REPORTS} /tests/ || true
24
+ cp ${SCRATCH} /coverage* .xml ${CIRCLE_TEST_REPORTS} /tests/ || true
25
+ cp ${SCRATCH} /smoketest* .xml ${CIRCLE_TEST_REPORTS} /tests/ || true
You can’t perform that action at this time.
0 commit comments