Skip to content

Commit

Permalink
Update test commands in GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
kamiazya committed Sep 14, 2024
1 parent 1cdbd6b commit 0062a0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/.dynamic-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
- run: pnpm test run --project node
- run: pnpm run test --project node --project typecheck


test_deno:
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
with:
skip-rust-setup: 'true'
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
- run: pnpm test run --project browser --browser.name=${{ matrix.browsers }} --browser.headless
- run: pnpm run test --project browser --browser.name=${{ matrix.browsers }} --browser.headless

test_macos_browser:
runs-on: macos-latest
Expand All @@ -118,7 +118,7 @@ jobs:
# - if: matrix.browsers == 'safari'
# run: sudo safaridriver --enable
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
- run: pnpm test run --project browser --browser.name=${{ matrix.browsers }} --browser.headless
- run: pnpm run test --project browser --browser.name=${{ matrix.browsers }} --browser.headless

test_windows_browser:
runs-on: windows-latest
Expand All @@ -136,4 +136,4 @@ jobs:
with:
skip-rust-setup: 'true'
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
- run: pnpm test run --project browser --browser.name=${{ matrix.browsers }} --browser.headless
- run: pnpm run test --project browser --browser.name=${{ matrix.browsers }} --browser.headless
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineConfig({
test: {
setupFiles: [".config/vitest.setup.ts"],
coverage: {
enabled: true,
enabled: false,
provider: "istanbul", // use istanbul for browser coverage
include: ["packages/**/*.ts"],
},
Expand Down

0 comments on commit 0062a0e

Please sign in to comment.