Add test stage to CI.

This commit is contained in:
2022-03-01 18:42:10 +01:00
parent c9293d4132
commit e515f72228
2 changed files with 34 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ image: "rust:latest"
stages:
- build
- test
build-job:
stage: build
@@ -10,3 +11,8 @@ build-job:
- target/release/indivisible
script:
- cargo build --release
test-job:
stage: test
script:
- ./test.sh