Skip to content

Merge pull request #258 from EspressoSystems/update/sequencer #3

Merge pull request #258 from EspressoSystems/update/sequencer

Merge pull request #258 from EspressoSystems/update/sequencer #3

Workflow file for this run

name: Slow Tests
on:
push:
branches:
- main
- release-*
tags:
# YYYYMMDD
- "20[0-9][0-9][0-1][0-9][0-3][0-9]*"
workflow_dispatch:
env:
RUST_LOG: info,libp2p=off
RUSTFLAGS: "--cfg async_executor_impl=\"async-std\" --cfg async_channel_impl=\"async-std\""
ESPRESSO_DISABLE_TIMING_BASED_TESTS_FOR_CI: 'true'
jobs:
build:
# The tests that use docker compose currently only work on github's
# public runners.
runs-on: ubuntu-latest
steps:
- name: Check /proc/cpuinfo
run: cat /proc/cpuinfo
- name: Abort early if Intel ADX instructions (required by zkevm-prover) is not available
run: cat /proc/cpuinfo | grep -q ' adx ' || ( echo "Retry CI in the hopes of getting another CPU" && exit 1 )
- name: Install protoc
run: sudo apt-get install -y protobuf-compiler
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- uses: styfle/[email protected]
name: Cancel Outdated Builds
with:
all_but_latest: true
access_token: ${{ github.token }}
- uses: actions/checkout@v3
name: Checkout Repository
with:
submodules: true
- name: Login to Github Container Repo
uses: docker/login-action@v2
# if: github.event_name != 'pull_request'
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Install PNPM
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install Node Packages
run: pnpm install
- name: Pull all docker compose images
run: docker compose -f standalone-docker-compose.yaml -f docker-compose-anvil.yaml pull
- uses: Swatinem/rust-cache@v2
name: Enable Rust Caching
- name: Build
run: cargo test --release --workspace --features=testing,slow-tests --no-run
- name: Test
run: cargo test --release --workspace --features=testing,slow-tests --verbose -- --test-threads 1 --nocapture
timeout-minutes: 60