Fix storing test results on circle ci.

Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
This commit is contained in:
Silvin Lubecki 2019-02-01 11:56:27 +01:00
parent 3b345e4aad
commit 26c598801b
1 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ jobs:
- run:
name: "Unit Test with Coverage"
command: |
mkdir test-results
mkdir -p test-results/unit-tests
docker build -f dockerfiles/Dockerfile.dev --tag cli-builder:$CIRCLE_BUILD_NUM .
docker run \
-e GOTESTSUM_JUNITFILE=/tmp/junit.xml \
@ -65,7 +65,7 @@ jobs:
make test-coverage
docker cp \
test-$CIRCLE_BUILD_NUM:/tmp/junit.xml \
/work/test-results/unit-tests
./test-results/unit-tests/junit.xml
- run:
name: "Upload to Codecov"
command: |