store htmlcov as a workflow artefact
This commit is contained in:
parent
db0114bf16
commit
0023627bf5
|
@ -40,6 +40,12 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pytest
|
pytest
|
||||||
|
|
||||||
|
- name: Archive code coverage results
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: code-coverage-report
|
||||||
|
path: htmlcov
|
||||||
|
|
||||||
- name: Publish to Docker Registry
|
- name: Publish to Docker Registry
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||||
uses: docker/build-push-action@v1
|
uses: docker/build-push-action@v1
|
||||||
|
|
Loading…
Reference in New Issue