mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-24 10:54:04 +08:00
added coverage workflow
This commit is contained in:
parent
c226eabe68
commit
16786542a0
4
.github/workflows/workflow.yml
vendored
4
.github/workflows/workflow.yml
vendored
@ -7,7 +7,7 @@ jobs:
|
|||||||
OS: ubuntu-latest
|
OS: ubuntu-latest
|
||||||
PYTHON: '3.9'
|
PYTHON: '3.9'
|
||||||
steps:
|
steps:
|
||||||
- uses: checkout@v2
|
- uses: actions/checkout@master
|
||||||
with:
|
with:
|
||||||
fetch-depth: ‘2’
|
fetch-depth: ‘2’
|
||||||
|
|
||||||
@ -20,5 +20,5 @@ jobs:
|
|||||||
pip install coverage
|
pip install coverage
|
||||||
coverage run -m unittest
|
coverage run -m unittest
|
||||||
- name: Upload Coverage to Codecov
|
- name: Upload Coverage to Codecov
|
||||||
uses: codecov/codecov-action@v1
|
uses: codecov/codecov-action@v2
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user