File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 17
17
max-parallel : 4
18
18
matrix :
19
19
python-version : [3.6, 3.7, 3.8]
20
+ env :
21
+ OS : ${{ matrix.os }}
22
+ PYTHON : ${{ matrix.python-version }}
20
23
steps :
21
24
- uses : actions/checkout@v1
22
25
- name : Set up Python ${{ matrix.python-version }}
33
36
run : make security-baseline
34
37
- name : Complexity baseline
35
38
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
18
18
poetry run flake8
19
19
20
20
test :
21
- poetry run pytest -vvv
21
+ poetry run pytest -vvv --cov=./ --cov-report=xml
22
22
23
23
coverage-html :
24
24
poetry run pytest --cov-report html
You can’t perform that action at this time.
0 commit comments