BlogDocs

:construction_worker: Setup CI job matrix to run cargo test(#17)

Merged
Comparing
ci/cargo
(
bd59c1c
) with
main
(
1009387
)
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
5
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Passed

test_read_geotiff_local
python/tests/test_io_geotiff.py::test_read_geotiff_local
+1%
243.1 µs
240.8 µs
test_read_geotiff_multi_band
python/tests/test_io_geotiff.py::test_read_geotiff_multi_band
0%
24.1 ms
24 ms
test_read_geotiff_remote
python/tests/test_io_geotiff.py::test_read_geotiff_remote
0%
8.4 ms
8.4 ms
test_xarray_backend_open_dataarray[rasterio]
python/tests/test_xarray_backend.py::test_xarray_backend_open_dataarray[rasterio]
-1%
17.2 ms
17.3 ms
test_xarray_backend_open_dataarray[cog3pio]
python/tests/test_xarray_backend.py::test_xarray_backend_open_dataarray[cog3pio]
-1%
45.1 ms
45.8 ms

Commits

Click on a commit to change the comparison range
base
main
1009387
0%
:construction_worker: Setup CI job matrix for cargo test Ensure that Rust unit tests and doctests are checked too. Running on Ubuntu-24.04.
e9eafef
4 months ago
by weiji14
0%
:pushpin: Test on Rust stable, beta and nightly toolchains Test on all three release channels of Rust.
8670050
4 months ago
by weiji14
0%
:triangular_flag_on_post: Add --crate-type=rlib compilation target Needed to enable doctests, otherwise `cargo test --doc` would error with "warning: doc tests are not supported for crate type(s) `cdylib` in package `cog3pio`". Xref https://users.rust-lang.org/t/how-to-run-only-the-doctests/54048/2 and https://github.com/rust-lang/cargo/issues/4717.
5677144
4 months ago
by weiji14
0%
:green_heart: Fix broken doctest due to mismatched Array type Update docstring in src/lib.rs to check for an Array3 output from the read_geotiff function. Patches bca4c185e73c4cf4802b03aeb4e8da048c1ffff8.
bd59c1c
4 months ago
by weiji14
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.