Skip to content

Commit

Permalink
Use bunx for test runs in GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerd77 committed Jan 8, 2024
1 parent 282970a commit 705df72
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/bun-support.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,61 +23,61 @@ jobs:
submodules: recursive
- uses: oven-sh/setup-bun@v1

- run: npm ci --omit=peer
- run: bunx ci --omit=peer

- name: Test Block
run: npm run test:node
run: bunx vitest run test
working-directory: packages/block

- name: Test Blockchain
run: npm run test:node
run: bunx vitest run test
working-directory: packages/blockchain

# Switch client to unit tests only due to `async_hooks` dependency build error in browser tests: 2022-06-15
- name: Test Client
run: npm run test
run: bunx vitest run test
working-directory: packages/client

- name: Test Devp2p
run: npm run test
run: bunx vitest run test
working-directory: packages/devp2p

- name: Test Common
run: npm run test:node
run: bunx vitest run test
working-directory: packages/common

- name: Test Ethash
run: npm run test
run: bunx vitest run test
working-directory: packages/ethash

- name: Test EVM
run: npm run test:node
run: bunx vitest run test
working-directory: packages/evm

- name: Test Trie
run: npm run test:node
run: bunx vitest run test
working-directory: packages/trie

- name: Test Tx
run: npm run test:node
run: bunx vitest run test
working-directory: packages/tx

- name: Test Util
run: npm run test:node
run: bunx vitest run test
working-directory: packages/util

- name: Test StateManager
run: npm run test:node
run: bunx vitest run test
working-directory: packages/statemanager

- name: Test VM
run: npm run test:API
run: bunx vitest run test
working-directory: packages/vm

- name: Test RLP
run: npm run test:node
run: bunx vitest run test
working-directory: packages/rlp

- name: Test Wallet
run: npm run test:node
run: bunx vitest run test
working-directory: packages/wallet

0 comments on commit 705df72

Please sign in to comment.