Skip to content

Commit 241e057

Browse files
aduh95targos
authored andcommitted
tools: run doctool tests on GitHub Actions CI
PR-URL: #37398 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Zijian Liu <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent cfff3b4 commit 241e057

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/misc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ jobs:
2828
with:
2929
name: docs
3030
path: out/doc
31-
- name: Check links
32-
run: node tools/doc/checkLinks.js .
31+
- name: Test
32+
run: NODE=$(command -v node) make test-doc-ci TEST_CI_ARGS="-p actions"

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,11 @@ test-doc: doc-only lint-md ## Builds, lints, and verifies the docs.
587587
fi
588588
$(NODE) tools/doc/checkLinks.js .
589589

590+
.PHONY: test-doc-ci
591+
test-doc-ci: doc-only
592+
$(PYTHON) tools/test.py --shell $(NODE) $(TEST_CI_ARGS) $(PARALLEL_ARGS) doctool
593+
$(NODE) tools/doc/checkLinks.js .
594+
590595
test-known-issues: all
591596
$(PYTHON) tools/test.py $(PARALLEL_ARGS) known_issues
592597

0 commit comments

Comments
 (0)