From 83ea4c3617fdbf23c3a4dfaec941f546e3e1ddc3 Mon Sep 17 00:00:00 2001 From: jfldde <168934971+jfldde@users.noreply.github.com> Date: Fri, 29 Nov 2024 10:41:27 +0000 Subject: [PATCH] Remove CI_TEST_MODE --- .github/workflows/code_checks.yml | 6 +----- src/config/docker.rs | 11 ++++------- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/code_checks.yml b/.github/workflows/code_checks.yml index 73d6aea..8332be9 100644 --- a/.github/workflows/code_checks.yml +++ b/.github/workflows/code_checks.yml @@ -50,10 +50,6 @@ jobs: test: name: Run Tests runs-on: ubuntu-latest - strategy: - matrix: - ci_test_mode: [0, 1] - steps: - uses: actions/checkout@v4 @@ -64,4 +60,4 @@ jobs: toolchain: stable - name: Run Cargo test - run: CI_TEST_MODE=${{ matrix.ci_test_mode }} cargo test + run: cargo test diff --git a/src/config/docker.rs b/src/config/docker.rs index a3b614e..f7fcd0c 100644 --- a/src/config/docker.rs +++ b/src/config/docker.rs @@ -74,13 +74,10 @@ where Self { ports: vec![config.rollup.rpc.bind_port], - image: config.docker_image.clone().unwrap_or_else(|| { - let base_img = DEFAULT_CITREA_DOCKER_IMAGE; - match std::env::var("CI_TEST_MODE") { - Ok(v) if v == "1" || v == "true" => format!("{base_img}-ci"), - _ => base_img.to_string(), - } - }), + image: config + .docker_image + .clone() + .unwrap_or(DEFAULT_CITREA_DOCKER_IMAGE.to_string()), cmd: args, log_path: config.dir.join("stdout.log"), volume: VolumeConfig {