How to use output from one docker step in another?

I have a circle.yml that looks like:

machine:
  services:
    - docker

dependencies:
  override:
    - make build

test:
  override:
    - make test
    - make check-coverage

where make test produces a coverage report and make check-coverage reads the coverage report. But because this is docker, the coverage report is lost when make test completes. What do I need to do to make the coverage report available to make check-coverage? Thanks!

Nevermind. I just found the documentation on build artifacts.

I take it back. The collection of artifacts only happens after all of the steps have completed. So my original question remains.

A host mounted volume did the trick.