diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..25a9fb8 --- /dev/null +++ b/.gitlab-ci.yml @@ -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