mirror of
https://github.com/zadam/trilium.git
synced 2026-03-10 10:23:41 +01:00
feat(ci/server): HTML output
This commit is contained in:
parent
5afab6938a
commit
85d8c4c8fa
8
.github/workflows/dev.yml
vendored
8
.github/workflows/dev.yml
vendored
@ -43,6 +43,14 @@ jobs:
|
||||
- name: Run the server-side tests
|
||||
run: pnpm run --filter=server test
|
||||
|
||||
- name: Upload server test report
|
||||
uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: server-test-report
|
||||
path: apps/server/test-output/vitest/html/
|
||||
retention-days: 30
|
||||
|
||||
- name: Run the rest of the tests
|
||||
run: pnpm run --filter=\!client --filter=\!server test
|
||||
|
||||
|
||||
@ -21,7 +21,8 @@ export default defineConfig(() => ({
|
||||
],
|
||||
hookTimeout: 40_000,
|
||||
reporters: [
|
||||
"verbose"
|
||||
"verbose",
|
||||
["html", { outputFile: "./test-output/vitest/html/index.html" }]
|
||||
],
|
||||
coverage: {
|
||||
reportsDirectory: './test-output/vitest/coverage',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user