Skip to content

Commit

Permalink
chore(scripts): sync doc test command with the help message (#3223)
Browse files Browse the repository at this point in the history
  • Loading branch information
clearloop authored Sep 16, 2023
1 parent 9eea531 commit 604d713
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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: #\
Expand Down
2 changes: 1 addition & 1 deletion scripts/gear.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" "$@"; ;;

Expand Down

0 comments on commit 604d713

Please sign in to comment.