Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
git config --global user.name "opencode"

- name: Run unit tests
run: bun turbo test
run: bun script/metrics.ts --name unit-${{ matrix.settings.name }} --out tmp/metrics/unit-${{ matrix.settings.name }}.json -- bun turbo test

e2e:
name: e2e (${{ matrix.settings.name }})
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
run: ${{ matrix.settings.playwright }}

- name: Run app e2e tests
run: bun --cwd packages/app test:e2e:local
run: bun script/metrics.ts --name e2e-${{ matrix.settings.name }} --out tmp/metrics/e2e-${{ matrix.settings.name }}.json -- bun --cwd packages/app test:e2e:local
env:
CI: true
timeout-minutes: 30
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
"dev:web": "bun --cwd packages/app dev",
"dev:storybook": "bun --cwd packages/storybook storybook",
"typecheck": "bun turbo typecheck",
"test:unit:metrics": "bun script/metrics.ts --name unit-local --out tmp/metrics/unit-local.json -- bun turbo test",
"test:e2e:local:metrics": "bun script/metrics.ts --name e2e-local --out tmp/metrics/e2e-local.json -- bun --cwd packages/app test:e2e:local -- --workers 5",
"prepare": "husky",
"random": "echo 'Random script'",
"hello": "echo 'Hello World!'",
Expand Down
Loading
Loading