Skip to content

Commit 5a03a6b

Browse files
committed
fix ci
1 parent 731ae47 commit 5a03a6b

File tree

2 files changed

+37
-3
lines changed

2 files changed

+37
-3
lines changed

.github/workflows/test.yaml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,32 @@ jobs:
5151
- name: Run integration tests
5252
run: |
5353
cargo nextest run --all-features --workspace --locked \
54-
--no-tests=pass -E 'kind(test) and not test(docker)' \
54+
--no-tests=pass -E 'kind(test) and not test(docker) and not binary(l1_sync)' \
5555
-- --skip test_should_consolidate_to_block_15k
5656
57+
integration-l1-sync:
58+
runs-on:
59+
group: scroll-reth-runner-group
60+
timeout-minutes: 60
61+
env:
62+
RUST_BACKTRACE: 1
63+
steps:
64+
- uses: actions/checkout@v6
65+
- uses: rui314/setup-mold@v1
66+
- uses: dtolnay/rust-toolchain@nightly
67+
with:
68+
toolchain: 'nightly'
69+
- uses: Swatinem/rust-cache@v2
70+
with:
71+
cache-on-failure: true
72+
- uses: taiki-e/install-action@nextest
73+
- name: Run L1 sync integration tests (serial)
74+
run: |
75+
cargo nextest run --all-features --workspace --locked \
76+
--no-tests=pass -E 'binary(l1_sync)' --test-threads=1 \
77+
--failure-output immediate \
78+
--success-output never
79+
5780
integration-docker-compose:
5881
runs-on:
5982
group: scroll-reth-runner-group

Makefile

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,18 @@ test:
6969
--locked \
7070
--all-features \
7171
--no-fail-fast \
72-
-E 'not test(docker)'
72+
-E 'not test(docker) and not binary(l1_sync)'
73+
74+
.PHONY: test-l1-sync
75+
test-l1-sync:
76+
cargo nextest run \
77+
--workspace \
78+
--locked \
79+
--all-features \
80+
--no-fail-fast \
81+
--test-threads=1 \
82+
--failure-output immediate \
83+
-E 'binary(l1_sync)'
7384

7485
.PHONY: test-docker
7586
test-docker:
@@ -100,7 +111,7 @@ docs:
100111
cargo docs --document-private-items --exclude rollup-node-chain-orchestrator
101112

102113
.PHONY: pr
103-
pr: lint test docs
114+
pr: lint test test-l1-sync docs
104115

105116
.PHONY: docker
106117
docker:

0 commit comments

Comments
 (0)