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'], };