Skip to content

Commit 5c27fd7

Browse files
aduh95targos
authored andcommitted
tools: run doctool tests on GitHub Actions CI
PR-URL: #37398 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent c3d236d commit 5c27fd7

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/misc.yml

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

Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,11 @@ test-doc: doc-only lint-md ## Builds, lints, and verifies the docs.
588588
fi
589589
$(NODE) tools/doc/checkLinks.js .
590590

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

0 commit comments

Comments
 (0)