BurritOS/.gitlab-ci.yml
2023-03-08 17:15:49 +00:00

27 lines
460 B
YAML

default:
image: rust:latest
stages:
- build
- test
build-job:
stage: build
script:
- echo "Compiling the code..."
- cargo build
- echo "Compile complete."
unit-test-job:
stage: test
script:
- echo "Running unit tests..."
- cargo test
- echo "Code coverage is 90%"
lint-test-job:
stage: test
script:
- echo "Linting code... This will take about 10 seconds."
- cargo clippy
- echo "No lint issues found."