diff --git a/.github/workflows/ut_check.yml b/.github/workflows/ut_check.yml index a22501be..86d76005 100644 --- a/.github/workflows/ut_check.yml +++ b/.github/workflows/ut_check.yml @@ -27,4 +27,4 @@ jobs: run: | export DEFAULT_EXCEPT_PKGS=e2e go test -p 1 -coverprofile=coverage.txt $(go list ./... | grep -v -E $DEFAULT_EXCEPT_PKGS) - bash <(curl -s https://codecov.io/bash) + bash <(curl -s https://codecov.io/bash) -F unittest diff --git a/codecov.yaml b/codecov.yaml new file mode 100644 index 00000000..42f72f47 --- /dev/null +++ b/codecov.yaml @@ -0,0 +1,8 @@ +comment: + layout: "reach, diff, flags, files" + behavior: new + require_changes: false # if true: only post the comment if coverage changes + require_base: no # [yes :: must have a base report to post] + require_head: yes # [yes :: must have a head report to post] + branches: # branch names that can post comment + - "master" diff --git a/tests/run-ci-actions.sh b/tests/run-ci-actions.sh index 2a7b03ba..dee7924d 100755 --- a/tests/run-ci-actions.sh +++ b/tests/run-ci-actions.sh @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +set -ex + echo "test start" bats server.bats