From ca3ce7961d47b32b7d141e96ec804f80f57ca4e9 Mon Sep 17 00:00:00 2001 From: David Runge <dvzrv@archlinux.org> Date: Thu, 7 Nov 2024 18:24:32 +0100 Subject: [PATCH] ci: Run README tests for all projects supporting it Use the new `test-readmes` recipe to test all README.md based end-to-end integrations in a single target. Signed-off-by: David Runge <dvzrv@archlinux.org> --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1cf889ce..6cf0714a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -76,7 +76,7 @@ test-readmes: - if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH script: - - WORKDIR="$(pwd)" runuser -w WORKDIR -l testuser -c 'env && cd "$WORKDIR" && just install-rust-dev-tools && just test-readme nethsm-cli' + - WORKDIR="$(pwd)" runuser -w WORKDIR -l testuser -c 'env && cd "$WORKDIR" && just install-rust-dev-tools && just test-readmes' stage: test tags: - vm -- GitLab