From a1685dd4f9d92f54a8660c750ccb7680024ee7f9 Mon Sep 17 00:00:00 2001 From: Paul Delafosse Date: Fri, 27 Oct 2023 15:55:47 +0200 Subject: [PATCH] test: debug print --- .github/workflows/ci.yaml | 2 +- crates/libs/tagger/src/tagger/location.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 88fd3ba39..a18b43090 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -51,7 +51,7 @@ jobs: MIMIR__ELASTICSEARCH__URL: 'http://es1:9200' with: command: llvm-cov - args: --workspace --lcov --output-path lcov.info + args: --workspace --lcov --output-path lcov.info -- --nocapture - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 diff --git a/crates/libs/tagger/src/tagger/location.rs b/crates/libs/tagger/src/tagger/location.rs index 24ff145c5..f87041248 100644 --- a/crates/libs/tagger/src/tagger/location.rs +++ b/crates/libs/tagger/src/tagger/location.rs @@ -82,6 +82,8 @@ pub static CITY_TAGGER: Lazy = Lazy::new(|| { pub static CITY_DISTRICT_TAGGER: Lazy = Lazy::new(|| { let assets = ASSETS_PATH.get_or_init(|| PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("assets")); + println!("LES ASSETS"); + println!("{:?}", assets); let path = assets.join("cities_districts.json"); let locations = fs::read(path).expect("city district data"); let locations: CitiesDistricts =