Files
convertis/.github/workflows/ci.yml
T
Elias Wendland fb6b937818
Release / check-release (push) Successful in 15s
Release / build (push) Skipped
Release / package (deb) (push) Skipped
Release / package (rpm) (push) Skipped
Release / publish (push) Skipped
CI / test (push) Failing after 45s
chore: enable git LFS in CI and add AVIF to PNG package recommendation test
2026-07-17 16:02:26 +02:00

29 lines
801 B
YAML

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: true
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --workspace --locked
- run: cargo build --release --workspace --locked --target x86_64-unknown-linux-gnu
- name: Verify plugin-free recommendation
run: |
test_dir=$(mktemp -d)
cp target/x86_64-unknown-linux-gnu/release/convertis "$test_dir/"
output=$("$test_dir/convertis" --no-default-plugins assets/example.avif "$test_dir/example.png" 2>&1 || true)
echo "$output"
echo "$output" | grep -q "Install: convertis-imagemagick"