File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1717 max-parallel : 4
1818 matrix :
1919 python-version : [3.6, 3.7, 3.8]
20+ env :
21+ OS : ${{ matrix.os }}
22+ PYTHON : ${{ matrix.python-version }}
2023 steps :
2124 - uses : actions/checkout@v1
2225 - name : Set up Python ${{ matrix.python-version }}
3336 run : make security-baseline
3437 - name : Complexity baseline
3538 run : make complexity-baseline
39+ - name : Upload coverage to Codecov
40+ uses : codecov/codecov-action@v1
41+ with :
42+ file : ./coverage.xml
43+ # flags: unittests
44+ env_vars : OS,PYTHON
45+ name : aws-lambda-powertools-python-codecov
46+ fail_ci_if_error : true
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ lint: format
1818 poetry run flake8
1919
2020test :
21- poetry run pytest -vvv
21+ poetry run pytest -vvv --cov=./ --cov-report=xml
2222
2323coverage-html :
2424 poetry run pytest --cov-report html
You can’t perform that action at this time.
0 commit comments