Skip to content

Commit a9b8a9e

Browse files
committed
change l2 CI to test validium mode too
1 parent 37e106d commit a9b8a9e

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/ci_l2.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ jobs:
1616
# "Integration Test" is a required check, don't change the name
1717
name: Integration Test
1818
runs-on: ubuntu-latest
19+
strategy:
20+
matrix:
21+
validium:
22+
- false
23+
- true
1924
steps:
2025
- name: Checkout sources
2126
uses: actions/checkout@v4
@@ -26,8 +31,15 @@ jobs:
2631
- name: Caching
2732
uses: Swatinem/rust-cache@v2
2833

29-
- name: Run L2 integration test
34+
- name: Prepare configuration
3035
run: |
3136
cd crates/l2
3237
cp configs/sequencer_config_example.toml configs/sequencer_config.toml
38+
if [ "${{ matrix.validium }}" = "true" ]; then
39+
sed -i.bak 's/^validium = false$/validium = true/' configs/sequencer_config.toml && rm configs/sequencer_config.toml.bak
40+
fi
41+
42+
- name: Run L2 integration test
43+
run: |
44+
cd crates/l2
3345
make ci_test

0 commit comments

Comments
 (0)