From 5e4e7fe80fb951dea0cce88eb4d5a47b289ed47b Mon Sep 17 00:00:00 2001 From: maskpp Date: Thu, 31 Oct 2024 11:51:38 +0800 Subject: [PATCH] revert changes in workflow --- .github/workflows/integration.yml | 7 ++++++- .github/workflows/lint.yml | 4 ++++ .github/workflows/unit.yml | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index c2053e57faab..a57411744939 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -25,7 +25,7 @@ jobs: RUST_BACKTRACE: 1 strategy: matrix: - network: ["ethereum"] + network: ["ethereum", "optimism"] timeout-minutes: 60 steps: - uses: actions/checkout@v4 @@ -43,6 +43,11 @@ jobs: --locked --features "asm-keccak ${{ matrix.network }}" \ --workspace --exclude example-exex-remote --exclude ef-tests \ -E "kind(test)" + - if: matrix.network == 'optimism' + name: Run tests + run: | + cargo nextest run \ + --locked -p reth-node-optimism --features "optimism" sync: name: sync / 100k blocks diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4bebc73b8f4e..c758f6945a05 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,6 +19,8 @@ jobs: include: - binary: reth network: ethereum + - binary: op-reth + network: optimism steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@clippy @@ -81,6 +83,8 @@ jobs: include: - binary: reth network: ethereum + - binary: op-reth + network: optimism steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@master diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index c2760921f1f9..a5d42a85d208 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -26,7 +26,7 @@ jobs: strategy: matrix: partition: [1, 2] - network: ["ethereum"] + network: ["ethereum", "optimism"] timeout-minutes: 30 steps: - uses: actions/checkout@v4 @@ -77,7 +77,7 @@ jobs: timeout-minutes: 30 strategy: matrix: - network: ["ethereum"] + network: ["ethereum", "optimism"] steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable