Skip to content

Commit 7f7f0b0

Browse files
Merge branch 'arith-dev' into 2373-rm-tracestartblock-duplicate
2 parents d39cad4 + 981bbd0 commit 7f7f0b0

File tree

110 files changed

+1801
-2165
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+1801
-2165
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Nightly Replay Tests
2+
permissions:
3+
contents: read
4+
5+
on:
6+
schedule:
7+
- cron: "0 22 * * 1-5"
8+
workflow_dispatch:
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
# ==================================================================
16+
# Replay Tests
17+
# ==================================================================
18+
nightly-replay-tests:
19+
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-xxl
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
23+
with:
24+
submodules: recursive
25+
26+
- name: Setup Test Environment
27+
uses: ./.github/actions/setup-environment
28+
29+
- name: Run Nightly Replay tests
30+
run: GOMAXPROCS=10 GOMEMLIMIT=20GiB ./gradlew nightlyReplayTests
31+
env:
32+
JAVA_OPTS: -Dorg.gradle.daemon=false
33+
GOCORSET_FLAGS: -v --ansi-escapes=false --report --mir
34+
NIGHTLY_REPLAY_TESTS_PARALLELISM: 2
35+
36+
- name: Upload test report
37+
if: ${{ always() }}
38+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
39+
with:
40+
name: nightly-replay-tests-report
41+
path: arithmetization/build/reports/tests/**/*
42+
43+
- name: Failure Notification
44+
if: github.ref == 'refs/heads/arith-dev' && (failure() || cancelled())
45+
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
46+
with:
47+
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
48+
webhook-type: webhook-trigger
49+
payload: |
50+
name: "NightlyReplay"
51+
status: "${{ job.status }}"
Lines changed: 36 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Nightly Tests
2+
permissions:
3+
contents: read
24

35
on:
46
schedule:
@@ -10,52 +12,37 @@ concurrency:
1012
cancel-in-progress: true
1113

1214
jobs:
13-
nightly-tests:
14-
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-xxl
15-
steps:
16-
- name: Checkout repository
17-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
18-
with:
19-
submodules: recursive
20-
21-
- name: Setup Test Environment
22-
uses: ./.github/actions/setup-environment
23-
24-
- name: Run Nightly tests
25-
run: GOMAXPROCS=10 GOMEMLIMIT=20GiB ./gradlew nightlyTests
26-
env:
27-
JAVA_OPTS: -Dorg.gradle.daemon=false
28-
GOCORSET_FLAGS: -v --ansi-escapes=false --report --mir
29-
NIGHTLY_TESTS_PARALLELISM: 2
30-
ZKEVM_FORK: LONDON
31-
32-
- name: Upload test report
33-
if: ${{ always() }}
34-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
35-
with:
36-
name: nightly-tests-report-LONDON
37-
path: arithmetization/build/reports/tests/**/*
38-
39-
- name: Upload jacoco nightly tests coverage report
40-
if: always()
41-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
42-
with:
43-
name: jacoco-nightly-tests-coverage-report-LONDON
44-
path: arithmetization/build/reports/jacoco/jacocoNightlyTestsReport/**/*
45-
46-
- name: Upload jacoco nightly tests exec file
47-
if: always()
48-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
49-
with:
50-
name: jacoco-nightly-tests-exec-file-LONDON
51-
path: arithmetization/build/jacoco/nightlyTests.exec
52-
53-
- name: Failure Notification
54-
if: github.ref == 'refs/heads/arith-dev' && (failure() || cancelled())
55-
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
56-
with:
57-
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
58-
webhook-type: webhook-trigger
59-
payload: |
60-
name: "Nightly"
61-
status: "${{ job.status }}"
15+
nightly-tests-london:
16+
uses: ./.github/workflows/reusable-nightly-tests.yml
17+
secrets: inherit
18+
with:
19+
zkevm_fork: LONDON
20+
tests-with-ssh: ${{ inputs.tests-with-ssh || false }}
21+
22+
nightly-tests-paris:
23+
uses: ./.github/workflows/reusable-nightly-tests.yml
24+
secrets: inherit
25+
with:
26+
zkevm_fork: PARIS
27+
tests-with-ssh: ${{ inputs.tests-with-ssh || false }}
28+
29+
nightly-tests-shanghai:
30+
uses: ./.github/workflows/reusable-nightly-tests.yml
31+
secrets: inherit
32+
with:
33+
zkevm_fork: SHANGHAI
34+
tests-with-ssh: ${{ inputs.tests-with-ssh || false }}
35+
36+
nightly-tests-cancun:
37+
uses: ./.github/workflows/reusable-nightly-tests.yml
38+
secrets: inherit
39+
with:
40+
zkevm_fork: CANCUN
41+
tests-with-ssh: ${{ inputs.tests-with-ssh || false }}
42+
43+
nightly-tests-prague:
44+
uses: ./.github/workflows/reusable-nightly-tests.yml
45+
secrets: inherit
46+
with:
47+
zkevm_fork: PRAGUE
48+
tests-with-ssh: ${{ inputs.tests-with-ssh || false }}

.github/workflows/reference-blockchain-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
uses: ./.github/workflows/reusable-blockchain-tests.yml
3434
secrets: inherit
3535
with:
36-
zkevm_fork: London
36+
zkevm_fork: LONDON
3737
test_filter: ${{ inputs.test_filter || 'BlockchainReferenceTest_*' }}
3838
failed_module: ${{ inputs.failed_module || '' }}
3939
failed_constraint: ${{ inputs.failed_constraint || '' }}
@@ -44,7 +44,7 @@ jobs:
4444
uses: ./.github/workflows/reusable-blockchain-tests.yml
4545
secrets: inherit
4646
with:
47-
zkevm_fork: Merge
47+
zkevm_fork: PARIS
4848
test_filter: ${{ inputs.test_filter || 'BlockchainReferenceTest_*' }}
4949
failed_module: ${{ inputs.failed_module || '' }}
5050
failed_constraint: ${{ inputs.failed_constraint || '' }}
@@ -54,7 +54,7 @@ jobs:
5454
uses: ./.github/workflows/reusable-blockchain-tests.yml
5555
secrets: inherit
5656
with:
57-
zkevm_fork: Shanghai
57+
zkevm_fork: SHANGHAI
5858
test_filter: ${{ inputs.test_filter || 'BlockchainReferenceTest_*' }}
5959
failed_module: ${{ inputs.failed_module || '' }}
6060
failed_constraint: ${{ inputs.failed_constraint || '' }}
@@ -64,7 +64,7 @@ jobs:
6464
uses: ./.github/workflows/reusable-blockchain-tests.yml
6565
secrets: inherit
6666
with:
67-
zkevm_fork: Cancun
67+
zkevm_fork: CANCUN
6868
test_filter: ${{ inputs.test_filter || 'BlockchainReferenceTest_*' }}
6969
failed_module: ${{ inputs.failed_module || '' }}
7070
failed_constraint: ${{ inputs.failed_constraint || '' }}
@@ -74,7 +74,7 @@ jobs:
7474
uses: ./.github/workflows/reusable-blockchain-tests.yml
7575
secrets: inherit
7676
with:
77-
zkevm_fork: Prague
77+
zkevm_fork: PRAGUE
7878
test_filter: ${{ inputs.test_filter || 'BlockchainReferenceTest_*' }}
7979
failed_module: ${{ inputs.failed_module || '' }}
8080
failed_constraint: ${{ inputs.failed_constraint || '' }}
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: "Reusable nightly tests workflow"
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
zkevm_fork:
7+
required: true
8+
type: string
9+
tests-with-ssh:
10+
required: true
11+
type: boolean
12+
13+
jobs:
14+
# ==================================================================
15+
# Nightly Tests
16+
# ==================================================================
17+
nightly-tests:
18+
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-xxl
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
22+
with:
23+
submodules: recursive
24+
25+
- name: Setup Test Environment
26+
uses: ./.github/actions/setup-environment
27+
28+
- name: Run Nightly tests
29+
run: GOMAXPROCS=10 GOMEMLIMIT=20GiB ./gradlew nightlyTests
30+
env:
31+
JAVA_OPTS: -Dorg.gradle.daemon=false
32+
GOCORSET_FLAGS: -v --ansi-escapes=false --report --mir
33+
NIGHTLY_TESTS_PARALLELISM: 2
34+
ZKEVM_FORK: ${{ inputs.zkevm_fork }}
35+
36+
- name: Upload test report
37+
if: ${{ always() }}
38+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
39+
with:
40+
name: nightly-tests-report-${{ inputs.zkevm_fork }}
41+
path: arithmetization/build/reports/tests/**/*
42+
43+
- name: Upload jacoco nightly tests coverage report
44+
if: always()
45+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
46+
with:
47+
name: jacoco-nightly-tests-coverage-report-${{ inputs.zkevm_fork }}
48+
path: arithmetization/build/reports/jacoco/jacocoNightlyTestsReport/**/*
49+
50+
- name: Upload jacoco nightly tests exec file
51+
if: always()
52+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
53+
with:
54+
name: jacoco-nightly-tests-exec-file-${{ inputs.zkevm_fork }}
55+
path: arithmetization/build/jacoco/nightlyTests.exec
56+
57+
- name: Failure Notification
58+
if: github.ref == 'refs/heads/arith-dev' && (failure() || cancelled())
59+
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
60+
with:
61+
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
62+
webhook-type: webhook-trigger
63+
payload: |
64+
name: "Nightly"
65+
status: "${{ job.status }}"

0 commit comments

Comments
 (0)