-
Notifications
You must be signed in to change notification settings - Fork 50
44 lines (41 loc) · 1.24 KB
/
main.yaml
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
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Test executor inputs
on:
workflow_dispatch:
pull_request:
branches: [main, develop]
jobs:
build:
runs-on: [self-hosted, linux, X64, hc]
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: setup zkevm-rom
run: |
npm install -g npm
node -v
npm cache clean --force
rm -rf node_modules && package-lock.json
npm i --legacy-peers
npm run build
npm run test:build:gasLimit:v1
npm run test:build:gasLimit:v2
npm run test:build:gasLimit:v3
- name: run counters tests
run: |
npm run test:counters
- name: run zkasm tests
run: |
npm run test:zkasm
- name: Generate tests
run: |
npm run test:gen
- name: Run tests
run: |
export NUM_CPUS=4
npm run test:start
sh tools/checker.sh