workflows: get coverage result from ci container and archive it
@@ -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"
