-
Notifications
You must be signed in to change notification settings - Fork 773
83 lines (66 loc) · 1.93 KB
/
bun-support.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
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
# Client not working yet in Bun (expected), 2024-01-08
# - name: Test Client
# run: bunx vitest run test
# working-directory: packages/client
- name: Test Common
run: bunx vitest run test
working-directory: packages/common
- name: Test Devp2p
run: bunx vitest run test
working-directory: packages/devp2p
- 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 RLP
run: bunx vitest run test
working-directory: packages/rlp
- name: Test StateManager
run: bunx vitest run test
working-directory: packages/statemanager
- 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 VM
run: bunx vitest run test
working-directory: packages/vm
- name: Test Wallet
run: bunx vitest run test
working-directory: packages/wallet