Skip to content

Commit be5d51d

Browse files
committed
vm: Integrated tests, the Lerna way
1 parent 13c8cf9 commit be5d51d

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

.github/workflows/vm-test.yml

+16-6
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,14 @@ jobs:
6363
with:
6464
path: node_modules
6565
key: "${{ runner.os }}-node8-${{ hashFiles('**/package.json') }}"
66-
- run: npm install
67-
if: steps.cache-node-modules.outputs.cache-hit != 'true'
68-
working-directory: '${{ env.cwd }}'
66+
67+
- run: lerna bootstrap --scope ethereumjs-vm --ignore-scripts --include-dependencies
68+
69+
- run: lerna run --scope ethereumjs-vm --include-dependencies npm run build
70+
71+
# - run: npm install
72+
# if: steps.cache-node-modules.outputs.cache-hit != 'true'
73+
# working-directory: '${{ env.cwd }}'
6974
- run: 'npm run test:state:selectedForks'
7075
env:
7176
CI: true
@@ -85,9 +90,14 @@ jobs:
8590
with:
8691
path: node_modules
8792
key: "${{ runner.os }}-node8-${{ hashFiles('**/package.json') }}"
88-
- run: npm install
89-
if: steps.cache-node-modules.outputs.cache-hit != 'true'
90-
working-directory: '${{ env.cwd }}'
93+
94+
- run: lerna bootstrap --scope ethereumjs-vm --ignore-scripts --include-dependencies
95+
96+
- run: lerna run --scope ethereumjs-vm --include-dependencies npm run build
97+
98+
# - run: npm install
99+
# if: steps.cache-node-modules.outputs.cache-hit != 'true'
100+
# working-directory: '${{ env.cwd }}'
91101
- run: 'npm run test:blockchain'
92102
env:
93103
CI: true

0 commit comments

Comments
 (0)