forked from 0xPolygonHermez/zkevm-node
-
Notifications
You must be signed in to change notification settings - Fork 121
39 lines (32 loc) · 1.11 KB
/
regression-tests.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
name: Regression Tests
on:
pull_request:
types: [opened, synchronize] # Trigger on new PR and existing with new commits
branches:
- develop
jobs:
deploy_devnet:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build image (with proposed code changes) locally
id: build
run: |
if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then
GITHUB_SHA_SHORT=$(jq -r .pull_request.head.sha "$GITHUB_EVENT_PATH" | cut -c 1-7)
echo $GITHUB_SHA_SHORT
echo "::set-output name=GITHUB_SHA_SHORT::$GITHUB_SHA_SHORT"
fi
- name: Set up Docker
uses: docker/setup-buildx-action@v3
- name: Run regression tests against JIT container image
uses: 0xPolygon/kurtosis-cdk@v0.1.9
with:
zkevm_node: ${{ steps.build.outputs.GITHUB_SHA_SHORT }}
kurtosis_cdk: 'v0.2.3'
zkevm_agglayer: '0.1.4'
zkevm_bridge_service: '2e28fe4'
zkevm_bridge_ui: '0006445'
zkevm_dac: '0.0.7'
kurtosis_cli: '0.89.3'