diff options
| -rw-r--r-- | .gitlab-ci.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..207e10d --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,15 @@ +stages: + - correct + +check-format: + stage: correct + image: rust:latest + script: + - rustup component add rustfmt + - cargo fmt --check + +run-tests: + stage: correct + image: rust:1.94.1 + script: + - cargo test -- --test-threads=1 |
