burritos/.gitlab-ci.yml

20 lines
257 B
YAML
Raw Normal View History

2023-03-08 13:45:36 +01:00
default:
image: rust:latest
2023-03-08 13:42:20 +01:00
2023-03-08 13:45:36 +01:00
stages:
2023-03-08 13:42:20 +01:00
- test
2023-03-08 13:45:36 +01:00
unit-test-job:
stage: test
2023-03-08 13:42:20 +01:00
script:
- echo "Running unit tests..."
- cargo test
2023-03-08 13:45:36 +01:00
lint-test-job:
2023-03-10 11:12:49 +01:00
only:
- merge_requests
2023-03-08 13:45:36 +01:00
stage: test
2023-03-08 13:42:20 +01:00
script:
2023-03-10 11:12:49 +01:00
- echo "Linting code..."
2023-03-15 15:52:07 +01:00
- cargo clippy