From ca259f699775d89de1a291004efe4d65bd35ebeb Mon Sep 17 00:00:00 2001 From: Manuel Holtgrewe Date: Wed, 31 Jan 2024 09:08:29 +0100 Subject: [PATCH] ci: fixing codecov integration (#57) --- .github/workflows/main.yml | 3 --- vitest.config.mts | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0c86fb7..42136d3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -67,8 +67,5 @@ jobs: - name: Upload frontend coverage reports to Codecov uses: codecov/codecov-action@v3 - with: - flags: frontend - directory: frontend env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/vitest.config.mts b/vitest.config.mts index 8595aca..c98b612 100644 --- a/vitest.config.mts +++ b/vitest.config.mts @@ -15,8 +15,9 @@ export default mergeConfig( } }, coverage: { + all: true, provider: 'istanbul', - reporter: ['text', 'json', 'html'], + reporter: ['text', 'html', 'clover', 'json'], include: ['src/lib/**/*.ts', 'src/components/**/*.{vue,ts}'], exclude: ['**/*.spec.ts', '**/*.stories.ts'] },