From 55b42394ee93e63c04684be20fd535bbeea000d5 Mon Sep 17 00:00:00 2001 From: Cam Sima Date: Wed, 4 Sep 2024 15:25:44 -0400 Subject: [PATCH] add coverage --- .coverage | Bin 53248 -> 53248 bytes .github/workflows/python-package.yml | 9 +++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.coverage b/.coverage index 92578ae2e2daa1d9e190410df879ee59d2504e0f..9b50848803a8128024473e748795ae1c43ad8055 100644 GIT binary patch delta 2981 zcmai!e{54#6vx}`_4U2B@814iyZ&Y}ewl5M0ZM>@u-`w;5P^_wWqaE?*1pnqgKe-v zLL^3`Xah1LutX#hi3$r60)jsfRA37UBt~E)8Zdx}2?DYycBcgY?Zz+IN-EK+tMCpwkFCH7QzK z>+yL)wY7j3*Z|iMJhHV+fyd^A+Cpo@UAB;3YypIeBANgn^b5Wq4?tNuRBWV@5xLBppIWx z&-=-h2FWM}sEMP%Ib?RPP`^5u9pb(IR(FUGX6NSQW|1!CdcYhbjb)BRtXc5#B3GgV z&P+I4{K-g@>=uu&#SNS0X(QiM=0=?5v~mWyk17rPOZ@!gG9%vdG`c_yOXB?|Gzx}5 z4)x?zI0+FD+CqE)h#~}pczureVS;=pyukxJ zs6QAYXOkyEn%%yJR`H5TXh6j8<%%E0>uCUFtvf(&pjZY}8X4FbPmM|mphXlwN&=;U zME%9}d^Bn=&MFGr1-ed*Khl^RWRJLuV+jQk0&+@HGUguag%oHXX!0D;SU0#vTcmE~ zD>7?71UQEHa82P_G!B@<&yAxZHnHEyuDkHdR#8uK_ zG3}@lh`^1}DTt@o63rs&DTWFPEahp}XPsx%QuL)1C={@S#}el#x=6Toj*=JML>v8p zQ8STgqN66X81)i$5@6IyaP-2SafwkUK}8h2N0>9wu=uEva7jckzK^Jq%rt5v$^r^p z1U5`~P*E3AB$+uzE^LyS$2^2dLX266Jo;93pyid2B@4D^Yuq?d#>cd;^dxM?J9E=s} zTI-FQENg*GZ$#et9)4F}zey&U({%Ig+k1oId7oE9 zGpOm+KS^Joq{WbC;-P-yXq zKd!D^$0%V@tDN!piBUqEh!LRO6kr#d-22lFIRUoUO)fIlKv%4ziivzUo4YSEQ{I|5{blxEfPG8 z|HgOl4SX%4-Kx#RJ)obr@MgRLw_^b}V>e!bt8p35$MZo=Id}@5fGwbx3na2*lc33TE$?oh#@^)3}&+!OeQg;rHR346obJa2EASkI-MA_S}|xe QVopMeJA9^_OeZTYl;rorG_>mO<64g5h z_HlHU-l8tDO5TtJsnLFGbJ}gK9Dm1;u`ivS<-y`fg1Ax1Y;8KO4n_n0#<6g`K{MwX ztLQ+$@9)=R-4UHJ%$T|2)x@(l=s3hW%+BUq!L9OK!VEPY$?gt^OSfit6rLMq)Xr!m zG#J$*Fs4?9UURggBqxJ)BOD4EY<{)Gb4ga8#Xhce2Vpg9s1wck*3!KU>Nk7za5NAK z03!`+*0{gEm+0VQe7e*E836d03gtY6}_n>tQ|U*MmKAUm)10_e4XPHC9+t zVJ4dd^L1-8sO#d$TUtSeNG(~@Hne$djLy-d=E6Vl6z&3b)fk;ZAP#OZQ(jfsI-HoZ zZEmv5oyHJTC*X4k%x$(Xd&uVD6AWa|-kPCS^TQ18cBj;#Q47PF`y$)!}7>$}*mJniH$|7%L{*;)I>+{&_>E5om+T-2Z4xCwzAt4nmzA{YjVT2l|darIYjl z9ixM^m!78$w2V4Im6axCf-H)ieEp{6Xb=@^3)Au5SMObI?S)3);d@>c1Ko$+&y5(d z+aPw@-02s_$NVX-e!1k)bxj3UsGi|C&dIej5CzgAWnpb`=IE!6&Vy8j+#z>Pd_nuM zEXzxh1RzVgB8nmeRyAV6?JSX~abM`mK5FV#Ky^$ezsJMKz(7{OlwD&P3CvbJuq z@sQ>5z3UefEtUCJNGhzgrrx)3Vd8S!ReayI`0$24ZP*11QWRoQVG5xsQyM=2w+_*C IYO<^BFLXT@9{>OV diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 7d2cca3..7cae0a2 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -28,6 +28,11 @@ jobs: python -m pip install --upgrade pip if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - name: Test with unittest + - name: Run tests with coverage run: | - python -m unittest + coverage run -m unittest discover + + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v2 + with: + token: ${{ secrets.CODECOV_TOKEN }}