This commit is contained in:
“ibrahim0814”
2019-08-07 19:25:37 -07:00
parent 1e6057f6d0
commit 67896f6476

View File

@@ -41,16 +41,20 @@ 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
- name: Upload coverage to Codecov - name: Upload coverage to Codecov
uses: codecov/codecov-action@v1 uses: codecov/codecov-action@v1
with: with: