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 # 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. # always recompile the codebase for each test and that takes way too long.
if: false if: false
runs-on: ubuntu-20.04 runs-on:
group: Reth
strategy: strategy:
matrix: matrix:
target: target:

View File

@ -14,7 +14,8 @@ concurrency:
name: hive name: hive
jobs: jobs:
prepare: prepare:
runs-on: ubuntu-20.04 runs-on:
group: Reth
steps: steps:
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -104,7 +105,8 @@ jobs:
fail-fast: false fail-fast: false
needs: prepare needs: prepare
name: run name: run
runs-on: ubuntu-20.04 runs-on:
group: Reth
steps: steps:
- name: Download artifacts - name: Download artifacts

View File

@ -18,7 +18,8 @@ name: integration
jobs: jobs:
test: test:
name: test (partition ${{ matrix.partition }}/${{ strategy.job-total }}) name: test (partition ${{ matrix.partition }}/${{ strategy.job-total }})
runs-on: ubuntu-20.04 runs-on:
group: Reth
strategy: strategy:
matrix: matrix:
partition: [1, 2, 3] partition: [1, 2, 3]
@ -52,7 +53,7 @@ jobs:
- name: Run tests - name: Run tests
run: | run: |
cargo llvm-cov nextest --lcov --output-path lcov.info \ 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 }} \ --partition hash:${{ matrix.partition }}/${{ strategy.job-total }} \
-E 'kind(test)' -E 'kind(test)'
@ -67,7 +68,8 @@ jobs:
name: sync / 100k blocks name: sync / 100k blocks
# Only run sync tests in merge groups # Only run sync tests in merge groups
if: github.event_name == 'merge_group' if: github.event_name == 'merge_group'
runs-on: ubuntu-20.04 runs-on:
group: Reth
env: env:
RUST_LOG: info,sync=error RUST_LOG: info,sync=error
steps: steps:
@ -95,7 +97,8 @@ jobs:
integration-success: integration-success:
if: always() if: always()
name: integration success name: integration success
runs-on: ubuntu-20.04 runs-on:
group: Reth
needs: [test] needs: [test]
steps: steps:
- name: Decide whether the needed jobs succeeded or failed - name: Decide whether the needed jobs succeeded or failed

View File

@ -17,7 +17,8 @@ name: unit
jobs: jobs:
test: test:
name: test (partition ${{ matrix.partition }}/${{ strategy.job-total }}) name: test (partition ${{ matrix.partition }}/${{ strategy.job-total }})
runs-on: ubuntu-20.04 runs-on:
group: Reth
strategy: strategy:
matrix: matrix:
partition: [1, 2, 3, 4, 5] partition: [1, 2, 3, 4, 5]
@ -40,7 +41,7 @@ jobs:
- name: Run tests - name: Run tests
run: | run: |
cargo llvm-cov nextest --lcov --output-path lcov.info \ 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 }} \ --partition hash:${{ matrix.partition }}/${{ strategy.job-total }} \
-E 'kind(lib)' -E 'kind(bin)' -E 'kind(proc-macro)' -E 'kind(lib)' -E 'kind(bin)' -E 'kind(proc-macro)'
@ -53,7 +54,8 @@ jobs:
eth-blockchain: eth-blockchain:
name: ethereum / state tests (stable) name: ethereum / state tests (stable)
runs-on: ubuntu-20.04 runs-on:
group: Reth
env: env:
RUST_LOG: info,sync=error RUST_LOG: info,sync=error
steps: steps:
@ -85,7 +87,8 @@ jobs:
doc-test: doc-test:
name: rustdoc name: rustdoc
runs-on: ubuntu-20.04 runs-on:
group: Reth
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Install toolchain - name: Install toolchain