mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-28 03:28:35 +08:00
ci(test): enable the GitHub Actions reporter for Vitest (#15857)
* feat(ci): publish the JUnit report for human * Grant permission to write check-results * Use the GitHub action reporter from vitest
This commit is contained in:
@@ -13,6 +13,7 @@ on:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
checks: write
|
||||
|
||||
jobs:
|
||||
fix-pnpm-lock:
|
||||
@@ -68,7 +69,7 @@ jobs:
|
||||
- name: Build routes
|
||||
run: pnpm build
|
||||
- name: Test all and generate coverage
|
||||
run: pnpm run vitest:coverage
|
||||
run: pnpm run vitest:coverage --reporter=github-actions
|
||||
env:
|
||||
REDIS_URL: redis://localhost:${{ job.services.redis.ports[6379] }}/
|
||||
- name: Upload coverage to Codecov
|
||||
|
||||
Reference in New Issue
Block a user