mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2025-04-23 00:24:36 +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
|
cargo test --lib
|
||||||
env:
|
env:
|
||||||
RUSTFLAGS: --cfg tokio_unstable --cfg system_deps
|
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
|
name: Run doctests
|
||||||
run: |
|
run: |
|
||||||
cargo test --doc
|
cargo test --doc
|
||||||
env:
|
env:
|
||||||
RUSTFLAGS: --cfg tokio_unstable --cfg system_deps
|
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:
|
check:
|
||||||
|
|
|
@ -62,10 +62,26 @@ jobs:
|
||||||
uses: https://git.asonix.dog/asonix/actions/install-imagemagick@main
|
uses: https://git.asonix.dog/asonix/actions/install-imagemagick@main
|
||||||
with:
|
with:
|
||||||
version: 7.1.1-46
|
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
|
name: Run integration tests
|
||||||
run: |
|
run: |
|
||||||
cargo test
|
set -x
|
||||||
|
for testFile in $(ls tests/*.rs)
|
||||||
|
do
|
||||||
|
cargo test --test ${${testFile#tests/}%.rs}
|
||||||
|
done
|
||||||
env:
|
env:
|
||||||
RUSTFLAGS: --cfg tokio_unstable --cfg system_deps
|
RUSTFLAGS: --cfg tokio_unstable --cfg system_deps
|
||||||
LD_LIBRARY_PATH: "/usr/local/lib"
|
LD_LIBRARY_PATH: "/usr/local/lib"
|
||||||
|
|
Loading…
Reference in a new issue