Skip to content

Commit

Permalink
Add tests for new features
Browse files Browse the repository at this point in the history
  • Loading branch information
qnighy committed Dec 21, 2024
1 parent ef4fb66 commit 29516c8
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,26 @@ jobs:
cargo test --all --features "${{ matrix.common_features }}1_2,mux"
cargo test --all --features "${{ matrix.common_features }}1_2,demux,mux"
if: matrix.webp >= '1.2'
- name: Test 1.4
run: |
cargo test --all --features "${{ matrix.common_features }}1_4"
cargo test --all --features "${{ matrix.common_features }}1_4,demux"
cargo test --all --features "${{ matrix.common_features }}1_4,mux"
cargo test --all --features "${{ matrix.common_features }}1_4,demux,mux"
if: matrix.webp >= '1.4'
- name: Test 1.5
run: |
cargo test --all --features "${{ matrix.common_features }}1_5"
cargo test --all --features "${{ matrix.common_features }}1_5,demux"
cargo test --all --features "${{ matrix.common_features }}1_5,mux"
cargo test --all --features "${{ matrix.common_features }}1_5,demux,mux"
if: matrix.webp >= '1.5'
- name: Test static builds
run: |
cargo test --all --features "${{ matrix.common_features }}1_2,static"
cargo test --all --features "${{ matrix.common_features }}1_2,static,demux"
cargo test --all --features "${{ matrix.common_features }}1_2,static,mux"
cargo test --all --features "${{ matrix.common_features }}1_2,static,demux,mux"
cargo test --all --features "${{ matrix.common_features }}1_5,static"
cargo test --all --features "${{ matrix.common_features }}1_5,static,demux"
cargo test --all --features "${{ matrix.common_features }}1_5,static,mux"
cargo test --all --features "${{ matrix.common_features }}1_5,static,demux,mux"
if: matrix.webp_from == 'bundled'
- name: Test __doc_cfg
run: |
Expand Down

0 comments on commit 29516c8

Please sign in to comment.