mirror of https://github.com/docker/cli.git
Fix storing test results on circle ci.
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
This commit is contained in:
parent
3b345e4aad
commit
26c598801b
|
@ -56,7 +56,7 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: "Unit Test with Coverage"
|
name: "Unit Test with Coverage"
|
||||||
command: |
|
command: |
|
||||||
mkdir test-results
|
mkdir -p test-results/unit-tests
|
||||||
docker build -f dockerfiles/Dockerfile.dev --tag cli-builder:$CIRCLE_BUILD_NUM .
|
docker build -f dockerfiles/Dockerfile.dev --tag cli-builder:$CIRCLE_BUILD_NUM .
|
||||||
docker run \
|
docker run \
|
||||||
-e GOTESTSUM_JUNITFILE=/tmp/junit.xml \
|
-e GOTESTSUM_JUNITFILE=/tmp/junit.xml \
|
||||||
|
@ -65,7 +65,7 @@ jobs:
|
||||||
make test-coverage
|
make test-coverage
|
||||||
docker cp \
|
docker cp \
|
||||||
test-$CIRCLE_BUILD_NUM:/tmp/junit.xml \
|
test-$CIRCLE_BUILD_NUM:/tmp/junit.xml \
|
||||||
/work/test-results/unit-tests
|
./test-results/unit-tests/junit.xml
|
||||||
- run:
|
- run:
|
||||||
name: "Upload to Codecov"
|
name: "Upload to Codecov"
|
||||||
command: |
|
command: |
|
||||||
|
|
Loading…
Reference in New Issue