Skip to content

Nightly Tests

Nightly Tests #393

name: Nightly Tests
permissions:
contents: read
on:
schedule:
- cron: "0 22 * * 1-5"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
nightly-tests-prague:
uses: ./.github/workflows/reusable-nightly-tests.yml
secrets: inherit
with:
zkevm_fork: PRAGUE
tests-with-ssh: ${{ inputs.tests-with-ssh || false }}
# ==================================================================
# Replay Tests
# ==================================================================
nightly-replay-tests:
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-xxl
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
submodules: recursive
- name: Setup Test Environment
uses: ./.github/actions/setup-environment
- name: Run Nightly Replay tests
run: GOMAXPROCS=10 GOMEMLIMIT=20GiB ./gradlew nightlyReplayTests
env:
JAVA_OPTS: -Dorg.gradle.daemon=false
GOCORSET_FLAGS: -v --ansi-escapes=false --report --mir
JUNIT_TESTS_PARALLELISM: 2
- name: Upload test report
if: ${{ always() }}
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: nightly-replay-tests-report
path: arithmetization/build/reports/tests/**/*
- name: Failure Notification
if: github.ref == 'refs/heads/arith-dev' && (failure() || cancelled())
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
webhook-type: webhook-trigger
payload: |
name: "NightlyReplay"
status: "${{ job.status }}"