Skip to content

Commit c3f27fc

Browse files
authored
Remove CI_TEST_MODE (#57)
1 parent 8342386 commit c3f27fc

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

.github/workflows/code_checks.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ jobs:
5050
test:
5151
name: Run Tests
5252
runs-on: ubuntu-latest
53-
strategy:
54-
matrix:
55-
ci_test_mode: [0, 1]
56-
5753
steps:
5854
- uses: actions/checkout@v4
5955

@@ -64,4 +60,4 @@ jobs:
6460
toolchain: stable
6561

6662
- name: Run Cargo test
67-
run: CI_TEST_MODE=${{ matrix.ci_test_mode }} cargo test
63+
run: cargo test

src/config/docker.rs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,10 @@ where
7474

7575
Self {
7676
ports: vec![config.rollup.rpc.bind_port],
77-
image: config.docker_image.clone().unwrap_or_else(|| {
78-
let base_img = DEFAULT_CITREA_DOCKER_IMAGE;
79-
match std::env::var("CI_TEST_MODE") {
80-
Ok(v) if v == "1" || v == "true" => format!("{base_img}-ci"),
81-
_ => base_img.to_string(),
82-
}
83-
}),
77+
image: config
78+
.docker_image
79+
.clone()
80+
.unwrap_or(DEFAULT_CITREA_DOCKER_IMAGE.to_string()),
8481
cmd: args,
8582
log_path: config.dir.join("stdout.log"),
8683
volume: VolumeConfig {

0 commit comments

Comments
 (0)