parent
a9a4b5cd19
commit
52d2047ca6
|
|
@ -87,7 +87,7 @@ jobs:
|
||||||
|
|
||||||
- name: 🧪 Run Rust tests
|
- name: 🧪 Run Rust tests
|
||||||
run: |
|
run: |
|
||||||
mold -run cargo nextest run
|
mold -run cargo nextest run --all-features
|
||||||
|
|
||||||
# miri:
|
# miri:
|
||||||
# runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
|
|
@ -97,7 +97,7 @@ jobs:
|
||||||
|
|
||||||
# - name: 🧪 Run Rust miri
|
# - name: 🧪 Run Rust miri
|
||||||
# run: |
|
# run: |
|
||||||
# mold -run cargo +nightly miri nextest run -j32
|
# mold -run cargo +nightly miri nextest run -j32 --all-features
|
||||||
|
|
||||||
cargo-deny:
|
cargo-deny:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,9 @@ homepage = "https://github.com/GraphiteEditor/Graphite/tree/master/libraries/raw
|
||||||
repository = "https://github.com/GraphiteEditor/Graphite/tree/master/libraries/raw-rs"
|
repository = "https://github.com/GraphiteEditor/Graphite/tree/master/libraries/raw-rs"
|
||||||
documentation = "https://docs.rs/raw-rs"
|
documentation = "https://docs.rs/raw-rs"
|
||||||
|
|
||||||
|
[features]
|
||||||
|
raw-rs-tests = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
num_enum = "0.7.2"
|
num_enum = "0.7.2"
|
||||||
thiserror = { workspace = true }
|
thiserror = { workspace = true }
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,8 @@ const TEST_FILES: [&str; 1] = ["ILCE-7M3-ARW2.3.5-blossoms.arw"];
|
||||||
const BASE_URL: &str = "https://static.graphite.rs/test-data/libraries/raw-rs/";
|
const BASE_URL: &str = "https://static.graphite.rs/test-data/libraries/raw-rs/";
|
||||||
const BASE_PATH: &str = "./tests/images";
|
const BASE_PATH: &str = "./tests/images";
|
||||||
|
|
||||||
#[test]
|
#[cfg_attr(feature = "raw-rs-tests", test)]
|
||||||
fn test_images_matches_with_libraw() {
|
fn test_images_match_with_libraw() {
|
||||||
download_images();
|
download_images();
|
||||||
|
|
||||||
let mut failed_tests = 0;
|
let mut failed_tests = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue