Generalized Runtime Docs / (First round) Bun Support #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bun Support | |
#on: | |
# schedule: | |
# - cron: 0 0 * * * | |
# workflow_dispatch: | |
on: | |
push: | |
branches: [master, develop] | |
tags: ['*'] | |
pull_request: | |
types: [opened, reopened, synchronize] | |
workflow_dispatch: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: oven-sh/setup-bun@v1 | |
- run: bunx ci --omit=peer | |
- name: Test Block | |
run: bunx vitest run test | |
working-directory: packages/block | |
- name: Test Blockchain | |
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: bunx vitest run test | |
working-directory: packages/client | |
- name: Test Devp2p | |
run: bunx vitest run test | |
working-directory: packages/devp2p | |
- name: Test Common | |
run: bunx vitest run test | |
working-directory: packages/common | |
- name: Test Ethash | |
run: bunx vitest run test | |
working-directory: packages/ethash | |
- name: Test EVM | |
run: bunx vitest run test | |
working-directory: packages/evm | |
- name: Test Trie | |
run: bunx vitest run test | |
working-directory: packages/trie | |
- name: Test Tx | |
run: bunx vitest run test | |
working-directory: packages/tx | |
- name: Test Util | |
run: bunx vitest run test | |
working-directory: packages/util | |
- name: Test StateManager | |
run: bunx vitest run test | |
working-directory: packages/statemanager | |
- name: Test VM | |
run: bunx vitest run test | |
working-directory: packages/vm | |
- name: Test RLP | |
run: bunx vitest run test | |
working-directory: packages/rlp | |
- name: Test Wallet | |
run: bunx vitest run test | |
working-directory: packages/wallet |