workflows: on octopus test runs archive the 'implements' output

Only octopus containers will have castxml available for now.
Conditionally grab the files generated by 'implements' and
make it available for later examination.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2020-05-27 16:29:26 -04:00 committed by John Mulligan
parent 7bec335c31
commit b76c077b3c
1 changed files with 7 additions and 1 deletions

View File

@ -38,7 +38,13 @@ jobs:
- name: Run test container
run: make test-container "CEPH_VERSION=${{ matrix.ceph_version }}" "RESULTS_DIR=$PWD/_results"
- name: Archive coverage results
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2
with:
name: "go-ceph-coverage-${{ matrix.ceph_version }}"
path: "_results/coverage/go-ceph.html"
- name: Archive implements results
if: "matrix.ceph_version == 'octopus'"
uses: actions/upload-artifact@v2
with:
name: "go-ceph-implements-${{ matrix.ceph_version }}"
path: "_results/implements.*"