Add CI job for all tests

Rename existing test job to leptos-tests
This commit is contained in:
Ethan Girouard 2024-02-04 21:40:00 -05:00
parent 89590768ad
commit 00ca15ef2c
Signed by: eta357
GPG Key ID: 7BCDC36DFD11C146

View File

@ -20,13 +20,20 @@ docker-build:
$CI_REGISTRY_IMAGE:latest; fi
- docker push $CI_REGISTRY_IMAGE --all-tags
# Run unit tests
test:
# Run leptos tests
leptos-tests:
needs: ["build"]
image: $CI_REGISTRY/libretunes/ops/docker-leptos:latest
script:
- 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
cargo-doc:
needs: []