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:
commit
9f1fece816
@ -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: []
|
||||
|
Loading…
x
Reference in New Issue
Block a user