mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
ci/test: speed up tests (#6987)
This commit is contained in:
10
.github/workflows/integration.yml
vendored
10
.github/workflows/integration.yml
vendored
@ -18,14 +18,13 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: test / ${{ matrix.network }} (${{ matrix.partition }}/2)
|
||||
name: test / ${{ matrix.network }}
|
||||
runs-on:
|
||||
group: Reth
|
||||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
strategy:
|
||||
matrix:
|
||||
partition: [1, 2]
|
||||
network: ["ethereum", "optimism"]
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
@ -40,10 +39,9 @@ jobs:
|
||||
- name: Run tests
|
||||
run: |
|
||||
cargo nextest run \
|
||||
--locked --features "${{ matrix.network }}" \
|
||||
--locked --features "asm-keccak ${{ matrix.network }}" \
|
||||
--workspace --exclude examples --exclude ef-tests \
|
||||
--partition hash:${{ matrix.partition }}/2 \
|
||||
-E 'kind(test)'
|
||||
-E "kind(test)"
|
||||
|
||||
sync:
|
||||
name: sync / 100k blocks
|
||||
@ -63,7 +61,7 @@ jobs:
|
||||
cache-on-failure: true
|
||||
- name: Run sync
|
||||
run: |
|
||||
cargo run --release --features jemalloc,min-error-logs --bin reth \
|
||||
cargo run --release --features asm-keccak,jemalloc,min-error-logs --bin reth \
|
||||
-- node \
|
||||
--debug.tip 0x91c90676cab257a59cd956d7cb0bceb9b1a71d79755c23c7277a0697ccfaf8c4 \
|
||||
--debug.max-block 100000 \
|
||||
|
||||
Reference in New Issue
Block a user