Skip to content
This repository was archived by the owner on Feb 17, 2021. It is now read-only.

Commit ad33305

Browse files
author
staticdev
committed
Merge coverage report to tests.yml
1 parent aa0bc66 commit ad33305

2 files changed

Lines changed: 9 additions & 36 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/tests.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,12 @@ jobs:
4141
- name: Run Nox
4242
run: |
4343
nox --force-color
44+
45+
- name: Create coverage report
46+
if: always() && matrix.session == 'tests'
47+
run: |
48+
nox --force-color --session=coverage -- xml
49+
50+
- name: Upload coverage report
51+
if: always() && matrix.session == 'tests'
52+
uses: codecov/codecov-action@v1.0.7

0 commit comments

Comments
 (0)