2023-06-29 22:46:17 +01:00
|
|
|
---
|
|
|
|
stages:
|
2023-06-29 23:30:59 +01:00
|
|
|
- format
|
2023-06-29 22:46:17 +01:00
|
|
|
- test
|
|
|
|
|
2023-06-29 23:30:59 +01:00
|
|
|
check-fmt:
|
|
|
|
stage: format
|
|
|
|
image: nixos/nix:latest
|
|
|
|
script:
|
|
|
|
- nix-shell
|
|
|
|
- make fmt
|
|
|
|
- git diff --quiet
|
|
|
|
|
2023-06-29 22:46:17 +01:00
|
|
|
run-tests:
|
|
|
|
stage: test
|
2023-06-29 22:51:08 +01:00
|
|
|
image: nixos/nix:latest
|
2023-06-29 22:46:17 +01:00
|
|
|
script:
|
2023-06-29 22:52:31 +01:00
|
|
|
- nix-shell --run "make test"
|