Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
test: debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
oknozor committed Oct 27, 2023
1 parent f230a05 commit 6259ea4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Empty file.
2 changes: 2 additions & 0 deletions crates/libs/tagger/src/tagger/location.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ pub static DISTRICT_TAGGER: Lazy<DistrictTagger> = Lazy::new(|| {
pub static CITY_TAGGER: Lazy<CityTagger> = 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.json");
let locations = fs::read(path).expect("cities data");
let locations: Cities = serde_json::from_slice(&locations).expect("valid json locations");
Expand Down

0 comments on commit 6259ea4

Please sign in to comment.