diff --git a/SHA1SUM b/SHA1SUM index 7ddacdc8..e47ff22b 100644 --- a/SHA1SUM +++ b/SHA1SUM @@ -1 +1 @@ -a9f7fe8001d7f1cc21063fec88e6a3a1f2f896b4 codecov +ce0cfa65fe07b458037474f838759211bcfc17d1 codecov diff --git a/SHA256SUM b/SHA256SUM index 84745334..f913b6e1 100644 --- a/SHA256SUM +++ b/SHA256SUM @@ -1 +1 @@ -49b78b3e7c9138b57ad5aa90c0845860028011485eedcc4077a5f2458913c1a7 codecov +0526a487e02b0eb5f314cd23a4d5b54c4e2a3e20b68ed5a1f2517b76d5ea73b8 codecov diff --git a/SHA512SUM b/SHA512SUM index ccb227a7..c50b77ca 100644 --- a/SHA512SUM +++ b/SHA512SUM @@ -1 +1 @@ -e4a906fcd5498dbe9bc31b54b233f83228f423de641013cfd7bf3c4d8f40a7da73e48d0a964936696b9e08ca85c1de78103d3bfbe66d281ae348307fa5c94500 codecov +b9820fd0c585f98028fdbccf40ff440c96270e8779925257c8fbfa476523b9690fb97b3e1fc52e8a9c3667916b2a6493c76f36dcf700da48a1bd7ff647131b54 codecov diff --git a/codecov b/codecov index a555f986..5d46e103 100755 --- a/codecov +++ b/codecov @@ -43,6 +43,7 @@ ft_xcodellvm="1" ft_xcodeplist="0" ft_gcovout="1" ft_html="0" +ft_yaml="0" _git_root=$(git rev-parse --show-toplevel 2>/dev/null || hg root 2>/dev/null || echo "$PWD") git_root="$_git_root" @@ -133,6 +134,7 @@ cat << EOF -X gcovout Disable gcov output -X html Enable coverage for HTML files -X recursesubs Enable recurse submodules in git projects when searching for source files + -X yaml Enable coverage for YAML files -N The commit SHA of the parent for which you are uploading coverage. If not present, the parent will be determined using the API of your repository provider. @@ -449,6 +451,9 @@ $OPTARG" elif [ "$OPTARG" = "recursesubs" ]; then git_ls_files_recurse_submodules_o="--recurse-submodules" + elif [ "$OPTARG" = "yaml" ]; + then + ft_yaml="1" fi ;; "Z") @@ -1492,12 +1497,18 @@ then i="woff|eot|otf" # fonts i="$i|gif|png|jpg|jpeg|psd" # images i="$i|ptt|pptx|numbers|pages|md|txt|xlsx|docx|doc|pdf|csv" # docs - i="$i|yml|yaml|.gitignore" # supporting docs + i="$i|.gitignore" # supporting docs if [ "$ft_html" != "1" ]; then i="$i|html" fi + + if [ "$ft_yaml" != "1" ]; + then + i="$i|yml|yaml" + fi + echo "$network" | grep -vwE "($i)$" >> "$upload_file" fi echo "<<<<<< network" >> "$upload_file"