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:
|
||||
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: |
|
||||
|
|
Loading…
Reference in New Issue