File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -39,18 +39,16 @@ jobs:
39
39
python -m pip install --upgrade setuptools
40
40
python -m pip install --upgrade wheel
41
41
pip install --no-cache-dir -r requirements.txt --upgrade
42
- - name : Install pytest, pytest-cov
42
+ - name : Install pytest, pytest-cov, coverage
43
43
run : |
44
44
pip install pytest
45
- pip install pytest-cov
45
+ pip install coverage
46
46
- name : Generate coverage report
47
- # You must now upload using a token.
48
- # https://app.codecov.io/gh/iKostanOrg/codewars/tests/new
49
- # yamllint disable rule:line-length
47
+ # https://coverage.readthedocs.io/en/7.6.10/cmd.html#cmd-run
50
48
run : |
51
49
python -c "import os; print(os.getcwd())"
52
- python -m pytest . -v --cov-report term-missing --cov-report=xml --cov=./
53
- # yamllint enable rule:line-length
50
+ coverage run -m pytest --data-file=cobertura.xml
51
+ coverage report -m
54
52
- name : List test files
55
53
run : |
56
54
ls
61
59
export CODACY_ORGANIZATION_PROVIDER=gh
62
60
export CODACY_USERNAME=iKostanOrg
63
61
export CODACY_PROJECT_NAME=codewars
64
- bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage.xml
62
+ bash <(curl -Ls https://coverage.codacy.com/get.sh)
You can’t perform that action at this time.
0 commit comments