Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 21 additions & 18 deletions .github/workflows/espresso-devnet-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,25 @@ on:
workflow_dispatch:

jobs:
test:
devnet-test:
runs-on: ubuntu-24.04-8core
strategy:
fail-fast: false
matrix:
group: [0, 1, 2, 3]
include:
- group: 0
tests: "TestChallengeGame|TestChangeBatchInboxOwner"
tee: false
- group: 1
tests: "TestSmokeWithoutTEE|TestBatcherRestart"
tee: false
- group: 2
tests: "TestWithdrawal"
tee: false
- group: 3
tests: "TestSmokeWithTEE"
tee: true
env:
ESPRESSO_DEVNET_TESTS_LIVENESS_PERIOD: "1m"
ESPRESSO_DEVNET_TESTS_OUTAGE_PERIOD: "1m"
Expand Down Expand Up @@ -60,28 +77,14 @@ jobs:
docker compose build
docker compose pull l1-validator espresso-dev-node l1-data-init

- name: Run Smoke test without TEE
run: go test -timeout 30m -p 1 -count 1 -run 'TestSmokeWithoutTEE' -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 Change Batch Inbox Owner test
run: go test -timeout 30m -p 1 -count 1 -run 'TestChangeBatchInboxOwner' -v ./espresso/devnet-tests/...

- name: Build Devnet with TEE
if: matrix.tee
run: |
cd espresso
COMPOSE_PROFILES=tee docker compose build

- name: Run Smoke test with TEE
Comment thread
shenkeyao marked this conversation as resolved.
run: go test -timeout 30m -p 1 -count 1 -run 'TestSmokeWithTEE' -v ./espresso/devnet-tests/...
- name: Run tests for group ${{ matrix.group }}
run: go test -timeout 30m -p 1 -count 1 -run '${{ matrix.tests }}' -v ./espresso/devnet-tests/...

- name: Save Nix cache
uses: nix-community/cache-nix-action/save@v6
Expand Down
Loading
Loading