ci: use large runners (#3888)

This commit is contained in:
Bjerg
2023-07-24 18:11:41 +02:00
committed by GitHub
parent b3c8a98a62
commit cb0947d7cb
4 changed files with 20 additions and 11 deletions

View File

@ -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:

View File

@ -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

View File

@ -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

View File

@ -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