mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-14 06:57:26 +00:00
Update main.yml
This commit is contained in:
parent
10e590a5de
commit
3cde50f4f1
1 changed files with 7 additions and 8 deletions
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
|
|
@ -6,14 +6,14 @@ jobs:
|
||||||
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
|
||||||
|
|
||||||
- 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: ./
|
uses: ./
|
||||||
|
|
@ -21,4 +21,3 @@ jobs:
|
||||||
token: ${{secrets.CODECOV_TOKEN}}
|
token: ${{secrets.CODECOV_TOKEN}}
|
||||||
flags: unittest
|
flags: unittest
|
||||||
name: codecov-1
|
name: codecov-1
|
||||||
#badstuff: morebadstuff
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue