Add CI job for all tests
Rename existing test job to leptos-tests
This commit is contained in:
parent
89590768ad
commit
00ca15ef2c
@ -20,13 +20,20 @@ docker-build:
|
|||||||
$CI_REGISTRY_IMAGE:latest; fi
|
$CI_REGISTRY_IMAGE:latest; fi
|
||||||
- docker push $CI_REGISTRY_IMAGE --all-tags
|
- docker push $CI_REGISTRY_IMAGE --all-tags
|
||||||
|
|
||||||
# Run unit tests
|
# Run leptos tests
|
||||||
test:
|
leptos-tests:
|
||||||
needs: ["build"]
|
needs: ["build"]
|
||||||
image: $CI_REGISTRY/libretunes/ops/docker-leptos:latest
|
image: $CI_REGISTRY/libretunes/ops/docker-leptos:latest
|
||||||
script:
|
script:
|
||||||
- cargo-leptos test
|
- cargo-leptos test
|
||||||
|
|
||||||
|
# Run all tests
|
||||||
|
tests:
|
||||||
|
needs: ["build"]
|
||||||
|
image: $CI_REGISTRY/libretunes/ops/docker-leptos:latest
|
||||||
|
script:
|
||||||
|
- cargo test --all-targets --all-features
|
||||||
|
|
||||||
# Generate docs
|
# Generate docs
|
||||||
cargo-doc:
|
cargo-doc:
|
||||||
needs: []
|
needs: []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user