chore: enable git LFS in CI and add AVIF to PNG package recommendation test
This commit is contained in:
1 parent
eb76ed1937
commit
fb6b937818
3 files changed
+7
-1
No files matched your search
@@ -14,6 +14,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
lfs: true
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
- run: cargo test --workspace --locked
|
- run: cargo test --workspace --locked
|
||||||
- run: cargo build --release --workspace --locked --target x86_64-unknown-linux-gnu
|
- run: cargo build --release --workspace --locked --target x86_64-unknown-linux-gnu
|
||||||
|
|||||||
+1
-1
@@ -15,7 +15,7 @@ members = [
|
|||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.3.0"
|
version = "0.2.0-dev"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
authors = ["Elias Wendland <eliaswendland@pm.me>"]
|
authors = ["Elias Wendland <eliaswendland@pm.me>"]
|
||||||
license = "GPL-3.0-only"
|
license = "GPL-3.0-only"
|
||||||
|
|||||||
@@ -245,6 +245,10 @@ mod tests {
|
|||||||
recommend_packages("png", "jpeg"),
|
recommend_packages("png", "jpeg"),
|
||||||
vec!["convertis-native-image"]
|
vec!["convertis-native-image"]
|
||||||
);
|
);
|
||||||
|
assert_eq!(
|
||||||
|
recommend_packages("avif", "png"),
|
||||||
|
vec!["convertis-imagemagick"]
|
||||||
|
);
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
recommend_packages("mp4", "frames"),
|
recommend_packages("mp4", "frames"),
|
||||||
vec!["convertis-ffmpeg-video-to-frames"]
|
vec!["convertis-ffmpeg-video-to-frames"]
|
||||||
|
|||||||
Reference in new issue
Block a user