Merge branch 'gen-junit-reports' into 'main'

generate junit reports for GitLab CI

See merge request soapbox-pub/ditto!223
This commit is contained in:
Alex Gleason 2024-05-05 15:01:12 +00:00
commit d867a516d5
2 changed files with 8 additions and 2 deletions

View File

@ -22,4 +22,10 @@ test:
stage: test
script: deno task test
variables:
DITTO_NSEC: nsec1zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zygs4rm7hz
DITTO_NSEC: nsec1zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zygs4rm7hz
artifacts:
when: always
paths:
- deno-test.xml
reports:
junit: deno-test.xml

View File

@ -5,7 +5,7 @@
"start": "deno run -A src/server.ts",
"dev": "deno run -A --watch src/server.ts",
"debug": "deno run -A --inspect src/server.ts",
"test": "DATABASE_URL=\"sqlite://:memory:\" deno test -A",
"test": "DATABASE_URL=\"sqlite://:memory:\" deno test -A --junit-path=./deno-test.xml",
"check": "deno check src/server.ts",
"nsec": "deno run scripts/nsec.ts",
"admin:event": "deno run -A scripts/admin-event.ts",