Skip to content

Bump js-yaml from 3.14.1 to 3.14.2 in /op-e2e/celo #466

Bump js-yaml from 3.14.1 to 3.14.2 in /op-e2e/celo

Bump js-yaml from 3.14.1 to 3.14.2 in /op-e2e/celo #466

name: Run Espresso Devnet tests
on:
pull_request:
push:
branches:
- "celo-integration*"
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-24.04-8core
env:
ESPRESSO_DEVNET_TESTS_LIVENESS_PERIOD: "1m"
ESPRESSO_DEVNET_TESTS_OUTAGE_PERIOD: "1m"
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Install Nix
uses: nixbuild/nix-quick-install-action@v30
with:
nix_conf: |
keep-env-derivations = true
keep-outputs = true
- name: Restore Nix cache
id: cache-nix-restore
uses: nix-community/cache-nix-action/restore@v6
with:
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
- name: Set up Nix environment
uses: nicknovitski/nix-develop@v1
- name: Cache Go modules
uses: actions/setup-go@v5
- name: Compile contracts
run: just compile-contracts
- name: Build Devnet
run: |
cd op-deployer
just
export PATH=$PATH:$PWD/bin
cd ../espresso
./scripts/prepare-allocs.sh
docker compose build
docker compose pull l1-validator espresso-dev-node l1-data-init
- name: Run Smoke test
run: go test -timeout 30m -p 1 -count 1 -run 'TestSmoke' -v ./espresso/devnet-tests/...
- name: Run Challenge Game test
run: go test -timeout 30m -p 1 -count 1 -run 'TestChallengeGame' -v ./espresso/devnet-tests/...
- name: Run Withdraw test
run: go test -timeout 30m -p 1 -count 1 -run 'TestWithdrawal' -v ./espresso/devnet-tests/...
- name: Run Batcher Restart test
run: go test -timeout 30m -p 1 -count 1 -run 'TestBatcherRestart' -v ./espresso/devnet-tests/...
- name: Run Key Rotation test
run: go test -timeout 30m -p 1 -count 1 -run 'TestKeyRotation' -v ./espresso/devnet-tests/...
- name: Run Change Batch Inbox Owner test
run: go test -timeout 30m -p 1 -count 1 -run 'TestChangeBatchInboxOwner' -v ./espresso/devnet-tests/...
- name: Save Nix cache
uses: nix-community/cache-nix-action/save@v6
if: always() && steps.cache-nix-restore.outputs.hit-primary-key != 'true'
with:
primary-key: ${{ steps.cache-nix-restore.outputs.primary-key }}