Merge branch '7-update-ci-to-run-all-tests' into 'main'

Add CI job for all tests

Closes #7

See merge request libretunes/libretunes!3
This commit is contained in:
Ethan Girouard 2024-02-04 22:20:38 -05:00
commit 9f1fece816

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: []