Skip to content

Commit

Permalink
Copy all coverage.html files into artifacts directory (#56)
Browse files Browse the repository at this point in the history
* Copy all coverage.html files into artifacts directory

This allows archiving/inspection of coverage for all of the submodules
in opentelemetry-go-contrib.

* Fall back to tar with a file list.  cpio missing fromm docker image.

* fixup! Fall back to tar with a file list.  cpio missing fromm docker image.
  • Loading branch information
evantorrie authored Jun 6, 2020
1 parent 32a76fe commit fdb43ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
name: "Precommit and Coverage Report"
command: |
make ci
mv coverage.html $TEST_RESULTS/
find . -name 'coverage.html' > "${TEST_RESULTS}/coverage.lst"
tar -n -cf - -T "${TEST_RESULTS}/coverage.lst" | tar -C "${TEST_RESULTS}" -xvf -
- save_cache:
key: go-pkg-mod-{{ checksum "go.sum" }}
Expand Down

0 comments on commit fdb43ee

Please sign in to comment.