extra test step

This commit is contained in:
jb-alvarado 2022-10-14 12:39:51 +02:00
parent c0f074344d
commit 853e0f0033

View File

@ -14,15 +14,16 @@ jobs:
rustup component add rustfmt rustup component add rustfmt
rustup component add clippy rustup component add clippy
- name: Run on Linux - name: Use ffmpeg on Linux
if: ${{ matrix.os == 'ubuntu-latest' }} if: ${{ matrix.os == 'ubuntu-latest' }}
uses: FedericoCarboni/setup-ffmpeg@v1 uses: FedericoCarboni/setup-ffmpeg@v1
- name: Run Cargo - name: Tests and Linux
if: ${{ matrix.os == 'ubuntu-latest' }}
run: | run: |
if [ "$RUNNER_OS" == "Linux" ]; then cargo test --all-features
cargo test --all-features cargo clippy --all-features --all-targets -- --deny warnings
cargo clippy --all-features --all-targets -- --deny warnings cargo fmt --all -- --check
cargo fmt --all -- --check
fi - name: Run build on all Systems
cargo build --all-features cargo build --all-features