Add build and test CI jobs
This commit is contained in:
parent
46ff5dfe7c
commit
0e430d5793
17
.gitlab-ci.yml
Normal file
17
.gitlab-ci.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- test
|
||||||
|
|
||||||
|
# Build the project
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
image: registry.mregirouard.com/libretunes/ops/docker-leptos:slim
|
||||||
|
script:
|
||||||
|
- cargo-leptos build
|
||||||
|
|
||||||
|
# Run unit tests
|
||||||
|
test:
|
||||||
|
stage: test
|
||||||
|
image: registry.mregirouard.com/libretunes/ops/docker-leptos:slim
|
||||||
|
script:
|
||||||
|
- cargo-leptos test
|
Loading…
x
Reference in New Issue
Block a user