This commit is contained in:
“ibrahim0814”
2019-08-07 19:27:57 -07:00
parent 67896f6476
commit c7f04ba6f0

View File

@@ -41,20 +41,19 @@ jobs:
run: run:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
- name: Setup Python - name: Setup Python
uses: actions/setup-python@master uses: actions/setup-python@master
with: with:
version: 3.7 version: 3.7
- name: Generate coverage report - name: Generate coverage report
run: | run: |
pip install pytest pip install pytest
pip install pytest-cov pip install pytest-cov
pytest --cov=./ --cov-report=xml pytest --cov=./ --cov-report=xml
###########$# Codecov #$$###########
- name: Upload coverage to Codecov - name: Upload coverage to Codecov
uses: codecov/codecov-action@v1 uses: codecov/codecov-action@v1
with: with:
@@ -62,6 +61,8 @@ jobs:
file: ./coverage.xml file: ./coverage.xml
flags: unittests flags: unittests
name: codecov-1 name: codecov-1
###########$###########$############
``` ```
## License ## License