From cb0947d7cbe57e4b8ea59aa040d2cda72bbfe997 Mon Sep 17 00:00:00 2001 From: Bjerg Date: Mon, 24 Jul 2023 18:11:41 +0200 Subject: [PATCH] ci: use large runners (#3888) --- .github/workflows/fuzz.yml | 3 ++- .github/workflows/hive.yml | 6 ++++-- .github/workflows/integration.yml | 11 +++++++---- .github/workflows/unit.yml | 11 +++++++---- 4 files changed, 20 insertions(+), 11 deletions(-) diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index 8f2760024b..ebe22fedc7 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -18,7 +18,8 @@ jobs: # Skip the Fuzzing Jobs until we make them run fast and reliably. Currently they will # always recompile the codebase for each test and that takes way too long. if: false - runs-on: ubuntu-20.04 + runs-on: + group: Reth strategy: matrix: target: diff --git a/.github/workflows/hive.yml b/.github/workflows/hive.yml index 20def9eed9..b564803e4e 100644 --- a/.github/workflows/hive.yml +++ b/.github/workflows/hive.yml @@ -14,7 +14,8 @@ concurrency: name: hive jobs: prepare: - runs-on: ubuntu-20.04 + runs-on: + group: Reth steps: - name: Checkout sources uses: actions/checkout@v3 @@ -104,7 +105,8 @@ jobs: fail-fast: false needs: prepare name: run - runs-on: ubuntu-20.04 + runs-on: + group: Reth steps: - name: Download artifacts diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 094134617d..07fe985489 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -18,7 +18,8 @@ name: integration jobs: test: name: test (partition ${{ matrix.partition }}/${{ strategy.job-total }}) - runs-on: ubuntu-20.04 + runs-on: + group: Reth strategy: matrix: partition: [1, 2, 3] @@ -52,7 +53,7 @@ jobs: - name: Run tests run: | cargo llvm-cov nextest --lcov --output-path lcov.info \ - --release --locked --all-features --workspace --exclude examples --exclude ef-tests \ + --locked --all-features --workspace --exclude examples --exclude ef-tests \ --partition hash:${{ matrix.partition }}/${{ strategy.job-total }} \ -E 'kind(test)' @@ -67,7 +68,8 @@ jobs: name: sync / 100k blocks # Only run sync tests in merge groups if: github.event_name == 'merge_group' - runs-on: ubuntu-20.04 + runs-on: + group: Reth env: RUST_LOG: info,sync=error steps: @@ -95,7 +97,8 @@ jobs: integration-success: if: always() name: integration success - runs-on: ubuntu-20.04 + runs-on: + group: Reth needs: [test] steps: - name: Decide whether the needed jobs succeeded or failed diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 92998e7d99..6c6e55bf9c 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -17,7 +17,8 @@ name: unit jobs: test: name: test (partition ${{ matrix.partition }}/${{ strategy.job-total }}) - runs-on: ubuntu-20.04 + runs-on: + group: Reth strategy: matrix: partition: [1, 2, 3, 4, 5] @@ -40,7 +41,7 @@ jobs: - name: Run tests run: | cargo llvm-cov nextest --lcov --output-path lcov.info \ - --release --locked --all-features --workspace --exclude examples --exclude ef-tests \ + --locked --all-features --workspace --exclude examples --exclude ef-tests \ --partition hash:${{ matrix.partition }}/${{ strategy.job-total }} \ -E 'kind(lib)' -E 'kind(bin)' -E 'kind(proc-macro)' @@ -53,7 +54,8 @@ jobs: eth-blockchain: name: ethereum / state tests (stable) - runs-on: ubuntu-20.04 + runs-on: + group: Reth env: RUST_LOG: info,sync=error steps: @@ -85,7 +87,8 @@ jobs: doc-test: name: rustdoc - runs-on: ubuntu-20.04 + runs-on: + group: Reth steps: - uses: actions/checkout@v3 - name: Install toolchain