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 77
77
- name : Test with pytest
78
78
run : |
79
79
make pytest
80
+
81
+ - name : Upload coverage to Codecov
82
+ uses : codecov/codecov-action@v1
83
+ with :
84
+ token : ${{ secrets.CODECOV }}
85
+ file : ./tests/coverage.xml
86
+ flags : unittests
87
+ name : codecov-umbrella
88
+ fail_ci_if_error : false
Original file line number Diff line number Diff line change @@ -82,7 +82,9 @@ addlicense-install: go-install
82
82
# Tests
83
83
84
84
pytest : pytest-install
85
- cd tests && $(PYTHON ) -m pytest unit --cov $(PROJECT_PATH ) --durations 0 -v --cov-report term-missing --color=yes
85
+ cd tests && \
86
+ $(PYTHON ) -m pytest unit --verbose --color=yes --durations=0 \
87
+ --cov=" $( PROJECT_PATH) " --cov-report=xml --cov-report=term-missing
86
88
87
89
test : pytest
88
90
You can’t perform that action at this time.
0 commit comments