From bc3dfef39c64dcd342cd8bb2351cb4af424a9adc Mon Sep 17 00:00:00 2001 From: Cyrille Derche Date: Fri, 7 Jun 2024 11:24:13 +0200 Subject: [PATCH 1/4] code climate fix --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 158d169..ce7c152 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,10 +28,12 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 - run: yarn install - - run: yarn coverage - uses: paambaati/codeclimate-action@v6.0.0 env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} + with: + coverageCommand: npm run coverage + debug: true # deploy: # runs-on: ubuntu-latest From e4393c4cde19f421d57d246047fbf1351ef89ceb Mon Sep 17 00:00:00 2001 From: Cyrille Derche Date: Fri, 7 Jun 2024 11:37:48 +0200 Subject: [PATCH 2/4] lcov --- .github/workflows/ci.yml | 2 ++ .gitignore | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce7c152..02e8b5f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,6 +33,8 @@ jobs: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} with: coverageCommand: npm run coverage + coverageLocations: | + ${{github.workspace}}/coverage/lcov.info:lcov debug: true # deploy: diff --git a/.gitignore b/.gitignore index e8c12ff..ff2622a 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,5 @@ node_modules # Hardhat Ignition default folder for deployments against a local node ignition/deployments/chain-31337 + +.DS_Store \ No newline at end of file From 3e2c56d3690824dcbfcefdb899885c42852873e2 Mon Sep 17 00:00:00 2001 From: Cyrille Derche Date: Fri, 7 Jun 2024 11:39:20 +0200 Subject: [PATCH 3/4] debug false --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02e8b5f..36bf1df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,6 @@ jobs: coverageCommand: npm run coverage coverageLocations: | ${{github.workspace}}/coverage/lcov.info:lcov - debug: true # deploy: # runs-on: ubuntu-latest From f6467f1b6e13bfd0aa4b44962d9e5a7ade433b37 Mon Sep 17 00:00:00 2001 From: Cyrille Derche Date: Fri, 7 Jun 2024 11:39:49 +0200 Subject: [PATCH 4/4] yarn coverage --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36bf1df..2f8d1c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} with: - coverageCommand: npm run coverage + coverageCommand: yarn coverage coverageLocations: | ${{github.workspace}}/coverage/lcov.info:lcov