diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index c69b1afdf27..5d0588a862e 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -43,7 +43,7 @@ jobs: run: ./scripts/gear.sh clippy examples --all-targets --locked - name: "Test: Doc tests" - run: ./scripts/gear.sh test doc + run: ./scripts/gear.sh test docs - name: "Test: Changes in gsdk generated code" run: | diff --git a/Makefile b/Makefile index 347a011742a..23d3f966ed4 100644 --- a/Makefile +++ b/Makefile @@ -191,7 +191,7 @@ test-release: test-gear-release .PHONY: test-doc test-doc: - @ ./scripts/gear.sh test doc + @ ./scripts/gear.sh test docs .PHONY: test-gear test-gear: #\ diff --git a/scripts/gear.sh b/scripts/gear.sh index e74c01c7145..05161f5c741 100755 --- a/scripts/gear.sh +++ b/scripts/gear.sh @@ -309,7 +309,7 @@ case "$COMMAND" in header "Running syscalls integrity test of pallet-gear 'benchmarking' module on WASMI executor" syscalls_integrity_test "$@"; ;; - doc) + docs) header "Testing examples in docs" doc_test "$ROOT_DIR/Cargo.toml" "$@"; ;;