mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 00:09:35 +00:00
fix: coverage reporting
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
This commit is contained in:
@@ -284,7 +284,7 @@ jobs:
|
||||
|
||||
- name: Run frontend unit tests with coverage and check thresholds
|
||||
working-directory: web
|
||||
run: DEBUG=vitest:coverage npx vitest --coverage --run --reporter=blob --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
|
||||
run: DEBUG=vitest:coverage npx vitest --run --reporter=text,blob --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
|
||||
|
||||
- name: Upload Vitest results GitHub Actions Artifacts
|
||||
if: ${{ !cancelled() }}
|
||||
|
||||
@@ -95,7 +95,7 @@ export default mergeConfig(
|
||||
provider: 'v8',
|
||||
reporter: ["text", "json", "html", "json-summary"],
|
||||
include: ['src/**/*.{js,ts,vue}'],
|
||||
processingConcurrency: 64,
|
||||
processingConcurrency: 256,
|
||||
thresholds: {
|
||||
lines: 33,
|
||||
functions: 33,
|
||||
|
||||
Reference in New Issue
Block a user