From 0fcf6820960ea4e3a4214614ce9a640aee8b139f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 19:38:13 +0200 Subject: [PATCH] [TASK] Use --minimal-test CLI option for documentation tests (#172) This allows us to control specific settings needed for mininmal tests (like setting only a single output format) or more for the future. See also: https://github.com/TYPO3-Documentation/render-guides/pull/765 Releases: main, 12.4, 11.5 Co-authored-by: lina.wolf --- .github/workflows/documentation.yml | 2 +- Makefile | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 79ac662..10cc6d5 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -14,4 +14,4 @@ jobs: run: | mkdir -p Documentation-GENERATED-temp \ && docker run --rm --pull always -v $(pwd):/project \ - ghcr.io/typo3-documentation/render-guides:latest --config=Documentation --no-progress --fail-on-log + ghcr.io/typo3-documentation/render-guides:latest --config=Documentation --no-progress --minimal-test diff --git a/Makefile b/Makefile index 2ea329e..38c5883 100644 --- a/Makefile +++ b/Makefile @@ -12,3 +12,10 @@ docs: ## Generate projects docs (from "Documentation" directory) mkdir -p Documentation-GENERATED-temp docker run --rm --pull always -v "$(shell pwd)":/project -t ghcr.io/typo3-documentation/render-guides:latest --config=Documentation + +.PHONY: test-docs +test-docs: ## Test the documentation rendering + mkdir -p Documentation-GENERATED-temp + + docker run --rm --pull always -v "$(shell pwd)":/project -t ghcr.io/typo3-documentation/render-guides:latest --config=Documentation --no-progress --minimal-test +