Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Unit test summary #211

Merged
merged 10 commits into from
Jan 29, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Testing CI failure
bmingles committed Jan 27, 2025
commit d05140dba9e13dbc7ba4baf43fd75652c53ed5e4
1 change: 1 addition & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -22,6 +22,7 @@ jobs:
- name: Publish Test Summary Results
if: ${{ always() }}
run: |
set -e
npm run report:ctrfmerge
npm run report:ctrfsummary
sed -i 's/<h3>Test Summary<\/h3>/<h3>End-to-end Test Summary<\/h3>/' $GITHUB_STEP_SUMMARY
1 change: 1 addition & 0 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
@@ -22,6 +22,7 @@ jobs:
- name: Publish Test Summary Results
if: ${{ always() }}
run: |
set -e
npm run report:junit2ctrf
npm run report:ctrfsummary
sed -i 's/<h3>Test Summary<\/h3>/<h3>Unit Test Summary<\/h3>/' $GITHUB_STEP_SUMMARY
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@
"test:ci": "npm run compile && npm run test:lint && npm run test:unit",
"test:e2e": "npm run compile && cd e2e && wdio run ./wdio.conf.ts",
"test:lint": "eslint . --ext ts",
"test:unit": "vitest --reporter=default --reporter=junit --outputFile=../test-reports/vitest.junit.xml",
"test:unit": "vitest --reporter=default --reporter=junit --outputFile=./test-reports/vitest.junit.xml",
"test": "npm run test:unit",
"vscode:prepublish": "npm run compile:prod",
"watch:esbuild": "node scripts/esbuild.js --watch",