Skip to content

Commit 4c9a94c

Browse files
only test docs when running docs test.
1 parent 800b668 commit 4c9a94c

File tree

5 files changed

+381
-1324
lines changed

5 files changed

+381
-1324
lines changed

.coverage

-52 KB
Binary file not shown.

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ include scripts/init.mk
77

88
# Example CI/CD targets are: dependencies, build, publish, deploy, clean, etc.
99

10-
quick-start: config clean test build serve-docs # Quick start target to setup, build and serve docs @Pipeline
10+
quick-start: config clean test-docs build serve-docs # Quick start target to setup, build and serve docs @Pipeline
1111

1212
dependencies: # Install dependencies needed to build and test the project @Pipeline
1313
# TODO: Implement installation of your project dependencies
1414

15+
test-docs:
16+
$(MAKE) -C docs test
1517
build: # Build the project artefact @Pipeline
1618
$(MAKE) -C docs build
1719

docs/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ define baseurlparam =
3939
$(if $(BASE_URL),-- --baseurl $(BASE_URL),-- --baseurl "")
4040
endef
4141

42+
test:
43+
$(MAKE) -C $(SCHEMA_SRC_BASE_DIR) test
44+
4245
build: clean build-schemas copy-schema-docs copy-schema-yaml-docs copy-schemas build-eventcatalog build-docs show-build-output
4346

4447
build-ci: build-schemas-ci copy-schema-docs copy-schema-yaml-docs copy-schemas build-eventcatalog build-docs show-build-output

0 commit comments

Comments
 (0)