Skip to content

Commit 3c54638

Browse files
committed
try glob
1 parent a375268 commit 3c54638

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ jobs:
386386
continue-on-error: true
387387
uses: codecov/test-results-action@v1
388388
with:
389-
directory: packages/remix
389+
files: packages/**/*.xml
390390
token: ${{ secrets.CODECOV_TOKEN }}
391391

392392
job_bun_unit_tests:
@@ -492,6 +492,14 @@ jobs:
492492
with:
493493
token: ${{ secrets.CODECOV_TOKEN }}
494494

495+
- name: Upload test results to Codecov
496+
if: cancelled() == false
497+
continue-on-error: true
498+
uses: codecov/test-results-action@v1
499+
with:
500+
files: packages/**/*.junit.xml
501+
token: ${{ secrets.CODECOV_TOKEN }}
502+
495503
job_browser_playwright_tests:
496504
name: Playwright ${{ matrix.bundle }}${{ matrix.project && matrix.project != 'chromium' && format(' {0}', matrix.project) || ''}}${{ matrix.shard && format(' ({0}/{1})', matrix.shard, matrix.shards) || ''}} Tests
497505
needs: [job_get_metadata, job_build]

vite/vite.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ export default defineConfig({
1111
reportsDirectory: './coverage',
1212
},
1313
reporters: ['default', 'junit'],
14+
outputFile: {
15+
junit: `vitest.junit.xml`,
16+
},
1417
typecheck: {
1518
tsconfig: './tsconfig.test.json',
1619
},

0 commit comments

Comments
 (0)