mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2025-04-15 20:54:09 +00:00
Test each suite individually
This commit is contained in:
parent
85ac9ec5aa
commit
5e670710eb
2 changed files with 28 additions and 12 deletions
|
@ -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:
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue