Test each suite individually

This commit is contained in:
asonix 2025-03-29 17:26:48 -05:00
parent 85ac9ec5aa
commit 5e670710eb
2 changed files with 28 additions and 12 deletions

View file

@ -68,23 +68,23 @@ jobs:
cargo test --lib
env:
RUSTFLAGS: --cfg tokio_unstable --cfg system_deps
-
name: Run integration tests
run: |
set -x
for test in animation background basic content_length details image process
do
cargo test --test $test
done
env:
RUSTFLAGS: --cfg tokio_unstable --cfg system_deps
LD_LIBRARY_PATH: "/usr/local/lib"
-
name: Run doctests
run: |
cargo test --doc
env:
RUSTFLAGS: --cfg tokio_unstable --cfg system_deps
-
name: Run integration tests
run: |
set -x
for testFile in $(ls tests/*.rs)
do
cargo test --test ${${testFile#tests/}%.rs}
done
env:
RUSTFLAGS: --cfg tokio_unstable --cfg system_deps
LD_LIBRARY_PATH: "/usr/local/lib"
check:

View file

@ -62,10 +62,26 @@ jobs:
uses: https://git.asonix.dog/asonix/actions/install-imagemagick@main
with:
version: 7.1.1-46
-
name: Run library tests
run: |
cargo test --lib
env:
RUSTFLAGS: --cfg tokio_unstable --cfg system_deps
-
name: Run doctests
run: |
cargo test --doc
env:
RUSTFLAGS: --cfg tokio_unstable --cfg system_deps
-
name: Run integration tests
run: |
cargo test
set -x
for testFile in $(ls tests/*.rs)
do
cargo test --test ${${testFile#tests/}%.rs}
done
env:
RUSTFLAGS: --cfg tokio_unstable --cfg system_deps
LD_LIBRARY_PATH: "/usr/local/lib"