From 4b5e11dc691ed2d22a9cb8efe792af1108bc6c68 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 9 Dec 2020 23:42:15 -0500 Subject: [PATCH 01/23] Try bash coverage --- .circleci/config.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a4d6ab5e..cf1bfafa 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,16 +2,20 @@ version: 2.1 jobs: build: docker: - - image: particleflux/circleci-bats-kcov:1.0.0 + - image: circleci/ruby:2.7 steps: - checkout - run: name: Extract shunit command: tar --strip-components=1 -zxvf tests/shunit2-2.1.8.tar.gz + - run: + name: Install bashcov + command: gem install bashcov - run: name: Run Tests - command: env -i PATH="$PATH" tests/test - # kcov --include-path=./codecov coverage/ tests/test + command: | + env -i PATH="$PATH" + bashcov tests/test - run: name: Upload Codecov command: | From daf56d09d31c3eddbf3acb49aa6c5e59ff29242a Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 9 Dec 2020 23:44:19 -0500 Subject: [PATCH 02/23] Updates --- .circleci/config.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index cf1bfafa..80bddc4f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,11 +16,14 @@ jobs: command: | env -i PATH="$PATH" bashcov tests/test + - run: + name: View coverage dir + command: ls -al /home/circleci/project/coverage - run: name: Upload Codecov command: | - bash <(curl -s https://codecov.io/bash) -s coverage -d > upload.txt - bash <(curl -s https://codecov.io/bash) -s coverage + # bash <(curl -s https://codecov.io/bash) -s /home/circleci/project/coverage -d > upload.txt + bash <(curl -s https://codecov.io/bash) - store_artifacts: path: codecov.txt - store_artifacts: From 0420af6aefbc4a73719290ed95cf5858ec110d9d Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 9 Dec 2020 23:46:18 -0500 Subject: [PATCH 03/23] More testing --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 80bddc4f..081ef097 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,8 +22,8 @@ jobs: - run: name: Upload Codecov command: | - # bash <(curl -s https://codecov.io/bash) -s /home/circleci/project/coverage -d > upload.txt - bash <(curl -s https://codecov.io/bash) + bash <(curl -s https://codecov.io/bash) -s /home/circleci/project/coverage + # bash <(curl -s https://codecov.io/bash) - store_artifacts: path: codecov.txt - store_artifacts: From 6dd64590e5223fc9754ae9b2dbeeb6e5796893fe Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 9 Dec 2020 23:47:01 -0500 Subject: [PATCH 04/23] resultset --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 081ef097..8ab769f8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,6 +19,9 @@ jobs: - run: name: View coverage dir command: ls -al /home/circleci/project/coverage + - run: + name: Resultset + command: cat /home/circleci/project/coverage/.resultset.json - run: name: Upload Codecov command: | From 1bcd6395dde8a893911a6a1da94284b7c98e2f98 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 9 Dec 2020 23:48:13 -0500 Subject: [PATCH 05/23] Upload --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8ab769f8..6344c303 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,7 +25,7 @@ jobs: - run: name: Upload Codecov command: | - bash <(curl -s https://codecov.io/bash) -s /home/circleci/project/coverage + bash <(curl -s https://codecov.io/bash) -f /home/circleci/project/coverage/.resultset.json # bash <(curl -s https://codecov.io/bash) - store_artifacts: path: codecov.txt From 6a4e4725b87c99b9177985e1ad624a060dcbe589 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 9 Dec 2020 23:52:04 -0500 Subject: [PATCH 06/23] Cleanup --- .circleci/config.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6344c303..450d43af 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,19 +16,10 @@ jobs: command: | env -i PATH="$PATH" bashcov tests/test - - run: - name: View coverage dir - command: ls -al /home/circleci/project/coverage - - run: - name: Resultset - command: cat /home/circleci/project/coverage/.resultset.json - run: name: Upload Codecov command: | - bash <(curl -s https://codecov.io/bash) -f /home/circleci/project/coverage/.resultset.json - # bash <(curl -s https://codecov.io/bash) - - store_artifacts: - path: codecov.txt + bash <(curl -s https://codecov.io/bash) -f ./coverage/.resultset.json - store_artifacts: path: coverage deploy: From 162b1c39b0b03512155e865c677b8cc6e3d6edf8 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 10 Dec 2020 10:41:28 -0500 Subject: [PATCH 07/23] python --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 450d43af..79281684 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,6 +16,9 @@ jobs: command: | env -i PATH="$PATH" bashcov tests/test + - run: + name: Convert coverage file + command: python -v - run: name: Upload Codecov command: | From 1e992446dcbecfd73e54fcd4ea9b13da8bca732c Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 10 Dec 2020 11:05:11 -0500 Subject: [PATCH 08/23] Add a conversion for Codecov --- .circleci/config.yml | 4 ++-- convert_resultset.rb | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 convert_resultset.rb diff --git a/.circleci/config.yml b/.circleci/config.yml index 79281684..ba6da75f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,11 +18,11 @@ jobs: bashcov tests/test - run: name: Convert coverage file - command: python -v + command: ruby convert_resultset.rb ./coverage/.resultset.json - run: name: Upload Codecov command: | - bash <(curl -s https://codecov.io/bash) -f ./coverage/.resultset.json + bash <(curl -s https://codecov.io/bash) -f ./coverage/converted_resultset.json - store_artifacts: path: coverage deploy: diff --git a/convert_resultset.rb b/convert_resultset.rb new file mode 100644 index 00000000..18d0b100 --- /dev/null +++ b/convert_resultset.rb @@ -0,0 +1,16 @@ +#!/usr/bin/ruby + +require 'JSON' + +def convert_resultset(file_path) + result = JSON.parse(File.read(file_path)) + + result = result['/bin/bash ./codecov'] + result['coverage'].each do |key, value| + result['coverage'][key] = value.each_with_index.map { |i, v| [v, i] }.to_h + end + + File.open('./coverage/converted_resultset.json', 'w') { |f| f.write result } +end + +convert_resultset(ARGV[0]) From 4fed0aecc3630a2cd87b9e591b7dd75fcb4f1036 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 10 Dec 2020 11:09:40 -0500 Subject: [PATCH 09/23] Use full name --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ba6da75f..3c5709bf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,7 +18,7 @@ jobs: bashcov tests/test - run: name: Convert coverage file - command: ruby convert_resultset.rb ./coverage/.resultset.json + command: ruby convert_resultset.rb /home/circleci/project/coverage/.resultset.json - run: name: Upload Codecov command: | From a8c68f0ea08525e2db46e7bbfbdaa11fc8e0a967 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 10 Dec 2020 11:13:29 -0500 Subject: [PATCH 10/23] gem install json --- .circleci/config.yml | 6 ++++-- convert_resultset.rb | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3c5709bf..1de2ebbd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,8 +9,10 @@ jobs: name: Extract shunit command: tar --strip-components=1 -zxvf tests/shunit2-2.1.8.tar.gz - run: - name: Install bashcov - command: gem install bashcov + name: Install bashcov and json + command: | + gem install bashcov + gem install json - run: name: Run Tests command: | diff --git a/convert_resultset.rb b/convert_resultset.rb index 18d0b100..cb58ac58 100644 --- a/convert_resultset.rb +++ b/convert_resultset.rb @@ -1,6 +1,6 @@ #!/usr/bin/ruby -require 'JSON' +require 'json' def convert_resultset(file_path) result = JSON.parse(File.read(file_path)) From c971a1deee1329e34afe069a386ee4b9f0c65ccd Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 18 Dec 2020 09:58:28 -0500 Subject: [PATCH 11/23] Add local bashcov --- .circleci/config.yml | 7 ++----- bashcov-2.0.0.gem | Bin 0 -> 20480 bytes 2 files changed, 2 insertions(+), 5 deletions(-) create mode 100644 bashcov-2.0.0.gem diff --git a/.circleci/config.yml b/.circleci/config.yml index 1de2ebbd..11ee076f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,20 +11,17 @@ jobs: - run: name: Install bashcov and json command: | - gem install bashcov gem install json + gem install --local ./bashcov-2.0.0.gem - run: name: Run Tests command: | env -i PATH="$PATH" bashcov tests/test - - run: - name: Convert coverage file - command: ruby convert_resultset.rb /home/circleci/project/coverage/.resultset.json - run: name: Upload Codecov command: | - bash <(curl -s https://codecov.io/bash) -f ./coverage/converted_resultset.json + bash <(curl -s https://codecov.io/bash) - store_artifacts: path: coverage deploy: diff --git a/bashcov-2.0.0.gem b/bashcov-2.0.0.gem new file mode 100644 index 0000000000000000000000000000000000000000..2b04bc4bd01f83f0920155ede19ec33277a114c3 GIT binary patch literal 20480 zcmeFYLy#s;5HHy7Y1_7K+qP}%YumPM+nS!%v~Am(w(;%%?H+dH?O{(Zb`P7Etcr}v z$gGO`RYqo(g9X6E+yr34XypU)zlxauBX)LnkpIE|qyL$+u(NW2u&{A)aMwM-3?&k`kzUj))p4_|5w5PH2!~*{~x~npU(YH%m2SRC5rt8 z;y1Ky1O|SSwd1(Sj6Qbzjc(}Vlb*DwQA1j?W2|kgX%1gzg zhP;%vfwE@C3T3u{+sJ(*wj)8^=V=?Mf}Koi=2#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d<^Fa-FNnHTr#17rTb8Mzp&e4P3(Q|b#RwY=H-*?#vE(KZ=I?kVS* zR&YvxXD?~xd<@wfyiKf#?}BG?(mU6+H#KLxX1PFeUtkrA7=<8XQU=)7nkN1>s2P^=FsL8 z2++|uc+UR;%AueCU}6S55@_`NADpp9Jqg7552+KZH;FiKFnqQ>8ke9e!NwMsmiCVG zht$jn>B_3(;#oXbOFmcamAk*cHdaTz|M}=3i#yL*DzRp1z+P(?ajod6!%u5B-TU`?a=3ehL)iN6O*evrHf%amHk)_T4juQ! z&K!H0&q<`Y%jd1>+CQ)7wf*@Z8`+t!*e#O|9|dkIZ?L^qeD%Of32Bb2jixt4qYwG+ zjj*&iCv(Fyg}cq5%Ou}4kg@Z`OcxKsgEt@Vkv&#;!c0Ny@9oMbc}+*SrY_LUeC+CE z+{nCBtk@thN2s)UM$sPrlqPEzoh^^&6ggdX{-ri!XP)EM>Py9+g4Duy2p^1-a9J6W gJNe~axq60;9}O2?0hTSJU^E0qLtr!nhFu5%0Cg&$hX4Qo literal 0 HcmV?d00001 From a29892137034e0acb3838aafd8177b737020c6e9 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 18 Dec 2020 09:59:53 -0500 Subject: [PATCH 12/23] Add simplecov --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 11ee076f..00bf267b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,6 +12,7 @@ jobs: name: Install bashcov and json command: | gem install json + gem install simplecov -v 0.18.5 gem install --local ./bashcov-2.0.0.gem - run: name: Run Tests From f6f599ef65ac131c426951a06e843e3bc0d27e32 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 18 Dec 2020 10:01:21 -0500 Subject: [PATCH 13/23] Find files --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 00bf267b..e531b9f9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,6 +19,10 @@ jobs: command: | env -i PATH="$PATH" bashcov tests/test + - run: + name: Get files + command: | + ls -al /home/circleci/project/coverage - run: name: Upload Codecov command: | From cee0cd129587118c4d10283ebeefeb8e952b329e Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 18 Dec 2020 10:01:39 -0500 Subject: [PATCH 14/23] Add -s command --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e531b9f9..8ed3504b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,7 +26,7 @@ jobs: - run: name: Upload Codecov command: | - bash <(curl -s https://codecov.io/bash) + bash <(curl -s https://codecov.io/bash) -s /home/circleci/project/coverage - store_artifacts: path: coverage deploy: From 8792cb670e2a7a768e9d78f7fed37e63199c0ac4 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 18 Dec 2020 10:06:08 -0500 Subject: [PATCH 15/23] Add simplecov --- .simplecov | 1 + 1 file changed, 1 insertion(+) create mode 100644 .simplecov diff --git a/.simplecov b/.simplecov new file mode 100644 index 00000000..4fd93ec4 --- /dev/null +++ b/.simplecov @@ -0,0 +1 @@ +SimpleCov.formatter = SimpleCov::Formatter::JSONFormatter From 1f13cb41e7e5b8541b87bd400ff2df01d9a7104e Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 18 Dec 2020 10:07:30 -0500 Subject: [PATCH 16/23] Require simplecov --- .circleci/config.yml | 2 +- .simplecov | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8ed3504b..a26c357f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,7 +26,7 @@ jobs: - run: name: Upload Codecov command: | - bash <(curl -s https://codecov.io/bash) -s /home/circleci/project/coverage + bash <(curl -s https://codecov.io/bash) -s /home/circleci/project/coverage -Z - store_artifacts: path: coverage deploy: diff --git a/.simplecov b/.simplecov index 4fd93ec4..8f5e61ed 100644 --- a/.simplecov +++ b/.simplecov @@ -1 +1,3 @@ +require 'simplecov' + SimpleCov.formatter = SimpleCov::Formatter::JSONFormatter From 1a45c9cf7ad7cff50f35f33a89a20f741287394c Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 18 Dec 2020 10:16:57 -0500 Subject: [PATCH 17/23] Simple --- .simplecov | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.simplecov b/.simplecov index 8f5e61ed..5ebeba6e 100644 --- a/.simplecov +++ b/.simplecov @@ -1,3 +1,3 @@ require 'simplecov' -SimpleCov.formatter = SimpleCov::Formatter::JSONFormatter +SimpleCov.formatter = SimpleCov::Formatter::SimpleFormatter From 405468015cf9f5bcad069d38a9ebeb5f9a330709 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 18 Dec 2020 10:19:29 -0500 Subject: [PATCH 18/23] JSON? --- .simplecov | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.simplecov b/.simplecov index 5ebeba6e..3c52ab17 100644 --- a/.simplecov +++ b/.simplecov @@ -1,3 +1,4 @@ require 'simplecov' +require "simplecov_json_formatter" -SimpleCov.formatter = SimpleCov::Formatter::SimpleFormatter +SimpleCov.formatter = SimpleCov::Formatter::JSONFormatter From 4865e52115603f3dfe4e78f9d1641a67edc7873b Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 18 Dec 2020 10:28:53 -0500 Subject: [PATCH 19/23] cobertura --- .circleci/config.yml | 1 + .simplecov | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a26c357f..c841e83a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,6 +13,7 @@ jobs: command: | gem install json gem install simplecov -v 0.18.5 + gem install simplecov-cobertura gem install --local ./bashcov-2.0.0.gem - run: name: Run Tests diff --git a/.simplecov b/.simplecov index 3c52ab17..f40bc1c4 100644 --- a/.simplecov +++ b/.simplecov @@ -1,4 +1,4 @@ require 'simplecov' -require "simplecov_json_formatter" +require 'simplecov-cobertura' -SimpleCov.formatter = SimpleCov::Formatter::JSONFormatter +SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter From 9f34a79a5dcc321b1169c5389ef890fb5c108127 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 18 Dec 2020 10:31:18 -0500 Subject: [PATCH 20/23] Cleanup --- convert_resultset.rb | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 convert_resultset.rb diff --git a/convert_resultset.rb b/convert_resultset.rb deleted file mode 100644 index cb58ac58..00000000 --- a/convert_resultset.rb +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/ruby - -require 'json' - -def convert_resultset(file_path) - result = JSON.parse(File.read(file_path)) - - result = result['/bin/bash ./codecov'] - result['coverage'].each do |key, value| - result['coverage'][key] = value.each_with_index.map { |i, v| [v, i] }.to_h - end - - File.open('./coverage/converted_resultset.json', 'w') { |f| f.write result } -end - -convert_resultset(ARGV[0]) From 4e75c421cdf0d098e9d4be63b45016a45b32dfdc Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 18 Dec 2020 10:32:53 -0500 Subject: [PATCH 21/23] More cleanup --- .circleci/config.yml | 8 ++------ bashcov-2.0.0.gem | Bin 20480 -> 0 bytes 2 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 bashcov-2.0.0.gem diff --git a/.circleci/config.yml b/.circleci/config.yml index c841e83a..fb44b5b3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,18 +12,14 @@ jobs: name: Install bashcov and json command: | gem install json - gem install simplecov -v 0.18.5 + gem install simplecov gem install simplecov-cobertura - gem install --local ./bashcov-2.0.0.gem + gem install bashcov - run: name: Run Tests command: | env -i PATH="$PATH" bashcov tests/test - - run: - name: Get files - command: | - ls -al /home/circleci/project/coverage - run: name: Upload Codecov command: | diff --git a/bashcov-2.0.0.gem b/bashcov-2.0.0.gem deleted file mode 100644 index 2b04bc4bd01f83f0920155ede19ec33277a114c3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 20480 zcmeFYLy#s;5HHy7Y1_7K+qP}%YumPM+nS!%v~Am(w(;%%?H+dH?O{(Zb`P7Etcr}v z$gGO`RYqo(g9X6E+yr34XypU)zlxauBX)LnkpIE|qyL$+u(NW2u&{A)aMwM-3?&k`kzUj))p4_|5w5PH2!~*{~x~npU(YH%m2SRC5rt8 z;y1Ky1O|SSwd1(Sj6Qbzjc(}Vlb*DwQA1j?W2|kgX%1gzg zhP;%vfwE@C3T3u{+sJ(*wj)8^=V=?Mf}Koi=2#RTQ!NzPv>4yk%mQvX=9puN<%lHmG!i8`j%2zy5G zi3~+qn34DlwI*n)M#+*;4c%~VMOMRn-%8G=R6^vR=1jNHt>hV`XWSVBXh3HGp}hve zo*%saclQ`pIN#?1;pR@8ut7788x=-TF|#o-xa9)BadtS*v$@DHaPdog89skqXxQ)W zR41jg^oGX_)NCBE5at6q8%XjIowUS?g_9MOF4}`|{X8@}1%;hq;Q{V5QzU0tgFYSc z=)+UH*t`undZ;!S@$936=K+p4YG?UdXPgP7Tb^TW1nSX;Mah4n&E$)J0gRrj#X0>z z8_v35Cqg)X6=x(RozP@MPM9V8{W3YUQF9Nmh*5Jmn1mTLfoq(-_G(He8y*e18_A;9 z6eBl+LejbbzRdG^^kZCW@D^#VH-9PCu`0~TFwf}OS87eG?{PH5?SA&B>TlP~z0GZx zTfhd)&R>(-Jsy6ZtK}d6-|_5qTQjgbpOpD*XWpJyvHDGqn*|M&Q)jfd{e)(ElSo@ zHtsRwb!}*JspUv>RIeaes|k05Jer&kD3W)Tx5;mA-NjJZ&oWLJdHO_BwZ1}5bbmW8 zq;BfK%}~c#TS2XL+pRk+Gj>#u51X`T`uX4Vlqy!Y><3FD)QE4Uhj1JR$BoZdf_9qKXJ7e{#8pq5U5SOP&; z!0#|H(f+@BRsWaR^}l2Pe+c;h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644 codecov.yml diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 00000000..500061d3 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,2 @@ +ignore: + - "tests/" From f9a1362dbcd2d88acb8de36a5e6118ae65f7b3a3 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 18 Dec 2020 10:51:14 -0500 Subject: [PATCH 23/23] Add Codecov badge --- readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/readme.md b/readme.md index 741d1b7a..c36dca3b 100644 --- a/readme.md +++ b/readme.md @@ -1,9 +1,12 @@ Codecov Global Uploader ======================= +[![codecov](https://codecov.io/gh/codecov/codecov-bash/branch/master/graph/badge.svg?token=iEvSTnW9Qm)](https://codecov.io/gh/codecov/codecov-bash) + > Upload reports to Codecov for almost every supported language. [Deployed Version](https://codecov.io/bash) + SHA1Sum: [hash file](https://raw.githubusercontent.com/codecov/codecov-bash/master/SHA1SUM) ------