Skip to content

Commit

Permalink
crates: Fix CI crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
etemesi254 committed Nov 14, 2023
1 parent dbb5d20 commit a9d2661
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Build
run: cargo build --verbose
- name: Run tests
run: RUSTFLAGS="-C debuginfo=2" cargo test --verbose --release --workspace
run: RUSTFLAGS="-C debuginfo=2" cargo test --verbose --release --workspace --no-fail-fast
- name: Build with no features
run: cargo c --no-default-features --workspace

2 changes: 1 addition & 1 deletion crates/zune-farbfeld/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Farbfeld decoding and encoding support
Add `zune-farbfeld` to your `Cargo.toml`

```toml
zune-farbfeld = "0.2"
zune-farbfeld = "[LATEST]"
```

You can then use `FarbfeldDecoder` to decode images
Expand Down
5 changes: 0 additions & 5 deletions crates/zune-image/src/codecs/png.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,3 @@ impl EncoderTrait for PngEncoder {
self.options = Some(opts)
}
}

#[test]
fn hello() {
let im = Image::open("/home/caleb/Animated_PNG_example_bouncing_beach_ball.png").unwrap();
}
2 changes: 1 addition & 1 deletion crates/zune-image/src/core_filters/colorspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ impl OperationsTrait for ColorspaceConv {
k.reinterpret_as_mut()?
);
// remove K from cymk since the others become RGB
channels.pop();
channels.push(k);
}
}

Expand Down

0 comments on commit a9d2661

Please sign in to comment.