From 1081c910ee31ad2e7d3434c20365270851f8c7f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Autin?= Date: Fri, 10 Mar 2023 11:12:49 +0100 Subject: [PATCH] Updated CI --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 246ad21..6559645 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,11 +17,11 @@ unit-test-job: script: - echo "Running unit tests..." - cargo test - - echo "Code coverage is 90%" lint-test-job: + only: + - merge_requests stage: test script: - - echo "Linting code... This will take about 10 seconds." - - cargo clippy - - echo "No lint issues found." \ No newline at end of file + - echo "Linting code..." + - cargo clippy \ No newline at end of file