workflows: get coverage result from ci container and archive it

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2020-04-17 11:29:53 -04:00 committed by John Mulligan
parent 204a7558d4
commit 1eb81971a6
1 changed files with 6 additions and 1 deletions

View File

@ -36,4 +36,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Run test container
run: make test-container "CEPH_VERSION=${{ matrix.ceph_version }}"
run: make test-container "CEPH_VERSION=${{ matrix.ceph_version }}" "RESULTS_DIR=$PWD/_results"
- name: Archive coverage results
uses: actions/upload-artifact@v1
with:
name: "go-ceph-coverage-${{ matrix.ceph_version }}"
path: "_results/coverage/go-ceph.html"