: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.