From ef213c4cfd5c60e9f591a0d0cfc904af0b23d20b Mon Sep 17 00:00:00 2001 From: fcaps Date: Fri, 24 Nov 2023 22:03:42 +0100 Subject: [PATCH] enable codecov --- .github/workflows/code-quality.yml | 1 + jest.config.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 5fe65be0..aacee942 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -19,3 +19,4 @@ jobs: # --force should be removed if all the issues are fixed - run: ./node_modules/.bin/grunt jshint --force - run: yarn run test + - uses: codecov/codecov-action@v3 diff --git a/jest.config.js b/jest.config.js index 98493223..3e4f9627 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,4 +1,6 @@ const config = { + collectCoverage: true, + coverageReporters: ['text', 'cobertura'], setupFilesAfterEnv: ['./tests/setup.js'], };