From 721578be15e12c75e23a4dfac7ea7ee2d66cb67e Mon Sep 17 00:00:00 2001 From: Cyrille Derche Date: Sat, 20 Jul 2024 15:21:04 +0200 Subject: [PATCH 1/2] Fix getApplications --- .husky/pre-commit | 8 ++++---- .yarn/install-state.gz | Bin 527047 -> 527046 bytes biome.json | 3 ++- contracts/ApplicationManager.sol | 3 +-- package.json | 3 ++- test/ApplicationManager.ts | 2 +- 6 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 24afa67..25c3042 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,5 +1,5 @@ -yarn clean -yarn compile -yarn check -yarn test +yarn clean +yarn compile +yarn check +yarn test yarn ci \ No newline at end of file diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz index f571b82602a3669d29b472fed781ebbb38bb27d9..67296b3d35d3d12a0c837f806c123f77348d872d 100644 GIT binary patch delta 6602 zcmV;*88zm|l_18IAb^AcgaU*Egam{Iga)(+Iq-kE{b-t9XFUoylI_GESqk!)5W89< zF_!3IueH}ctiBjUAn^}y|5()|k!UvRs0s^cE{q=s=7^SvJQy{qosuxVikw*&%KqW*2-rDu|M$ z&ABS-*g9q%K2U;epLNUHGZ`%tp*YAcd(V#X9z}DtRpzp63)1x=9W(Z3&8O|PkZjDA zIx~9OtpTFFyRLHj)#F--Ea%l*hjbGb4-;c#8BgWCc{s{)(qi1xgS4t>Iz}D_bCc~g zX(EqayD;VlWxEkfH{J|`**$!tRyYzK1Uh0lJgEy%%RcG!YiGA%Q~c{^x8W%J`q{mY zy;RTo;qN(rZ~fu*@KK(AxuU`CRcRum{8!n!} zdw$=O_dI@NZ=b(&|3Th;`1XT8edjyhfA9M*;O!rNeE#H5`vX`0w7Ze-Jj!K{6F=I$ zZ@*wF`vQ;>;T%BDQ!ySnHt)Twj-9C$@sXRI6`P431i6mxaH^Q1?cJkeiGa~N=BlF^ z&eEC$51olji4A*VhbW7nwzpCDjtw%11($O22P%KrjGB&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g#wp3Yq4zw7%YaYQ1;f~ zmtVHEUw6OoecyZf`}}@ufAPdW;44QcQuBr#2=!V`5ZT@n>A7&g*GUVShRFeVuapuq z!99O%&<*L4^DE#>(=n%YeyI1i)OS6AO07Msz#$OVwzdR1mcI5zV-=G8Z#uMDX z&bQ$h|DSvtj`82%TTld@e)zjzq_(>8o5^q9ikr!A{eRv}{#?CsGx_uN>PD%dF>x?; z5IgFgVcUyH+#G4mAn0O;+wu;*YA*S#T{e3(Vq2PTt4y5Iw}52xeb%zua?^| zDgM!N8z#kHD<5D|{LjmClj46-uA3D9%krX0@sE`&lVUM*?yV$cY1OKZiOEhFPnuGS za)|}{IPSQ8_^P6d@h{s9$(&3OxHKOHt;|=Q03&l{#Q^H?9SWR;J9Abd4g8u$Dbz8{ z?WUJu2MA1mm0&IdJpfswK@?bpc*>~I{i3fj=n5U)q3JXyI<-_qK-6R*!Kl`HKqB0V z1&lTtzEVd8WFPr74aOVoJdfOtrkfA_tdx4?M89bk-__mU{qu*<*UUG4&2IU5E?3U; zZ^V@4rW+~H5nphgV~_>`vxYhO2t;S~M3JyN)uEk#eRyRrQCS)d&4}E~K@-6edD2MU z1-y019>9+r3a^#Nu_qIsawILa>|6Z;YmYQMnh70sFXD`{)fB5oPdhh)7 zpU$3UDBSx?AG!0&gNN%2f9(E){YMW8>AP=X(gqh&ZR$RC1i~v?olJ_HvKfo3YGLHn zM3NYPkA~a^s6{^Kb;&Ax^c1BKed?hYJ!&Ld364LQFv^tEUdPIT>jF*og=|vzlEI zA*k9CM;q)if##lSDO7euEnJ{EC8!hKgf6mAMz3=oQ*tff1W$N!7jg5l5S!Zyypkr8pe+=hqkw?VEASH>GE)-1q*%M_koVMbkytcEccH!M|^2b>Cu;>p*j z$r|pJ6E@n7K-#`@c9+o+d^l-MirK6JR*hjTJG|HMMF^rCq#@>TAL$1WsG { it("Should return no applications if all within range are deleted", async () => { await contract.write.deleteApplication([parseUnits("0", 0)]); - await contract.write.deleteApplication([parseUnits("2", 0)]); await contract.write.deleteApplication([parseUnits("1", 0)]); + await contract.write.deleteApplication([parseUnits("2", 0)]); await contract.write.deleteApplication([parseUnits("3", 0)]); await contract.write.deleteApplication([parseUnits("4", 0)]); await contract.write.deleteApplication([parseUnits("5", 0)]); From eae2864c381a73e84ff929b74a053211151b276a Mon Sep 17 00:00:00 2001 From: Cyrille Derche Date: Sat, 20 Jul 2024 15:29:19 +0200 Subject: [PATCH 2/2] add codeclimate --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index abeb05c..9e1c508 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: node-version: 20 - name: Install Dependencies - run: yarn install + run: yarn install --frozen-lockfile - name: Clean run: yarn clean @@ -38,7 +38,13 @@ jobs: run: yarn ci - name: Coverage - run: yarn coverage + uses: paambaati/codeclimate-action@v6.0.0 + env: + CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} + with: + coverageCommand: yarn coverage + coverageLocations: | + ${{github.workspace}}/coverage/lcov.info:lcov analyze: runs-on: ubuntu-latest