Skip to content

Commit c7ffa9b

Browse files
committed
Fix CI: add rasterio dependency, register Rwanda, and add test data
1 parent feeef66 commit c7ffa9b

4 files changed

Lines changed: 2 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pyproj = ">=3.6,<4.0"
4848
# rar is a bit difficult. vecorel-cli needs it for extracting some rar files in converters
4949
# but needs a rar cmd tool, which we need to install from conda explictly.
5050
unrar = ">=0.4"
51-
51+
rasterio = ">=1.3"
5252
[tool.pixi.pypi-dependencies]
5353
# Editable install of the project itself
5454
fiboa-cli = {path = ".", editable = true}
466 Bytes
Binary file not shown.
466 Bytes
Binary file not shown.

tests/test_convert.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,9 @@ def _input_files(converter, *names):
7474
"jecam": _input_files("jecam", "BD_JECAM_CIRAD_2023_feb.shp"),
7575
"de_fusion_ml": _input_files("de_fusion", "de_test_2019.geojson", "de_train_2018.geojson"),
7676
"za_fusion_ml": _input_files("za_fusion", "za_train_258N.geojson", "za_train_259N.geojson", "za_test_2017.geojson"),
77-
"rw_rwanda_ml": _input_files("rw_rwanda", "rw_rwanda_2021.geojson"),
77+
"rw_rwanda_ml": _input_files("rw_rwanda", "rw_rwanda_2021.geojson", "train_tile.tif", "test_tile.tif"),
7878
}
7979

80-
8180
@mark.parametrize("converter", tests)
8281
@patch("fiboa_cli.datasets.commons.ec.load_ec_mapping")
8382
def test_converter(load_ec_mock, capsys, tmp_parquet_file, converter):

0 commit comments

Comments
 (0)