Skip to content

Commit

Permalink
Exclude tutorial pages from entry points check
Browse files Browse the repository at this point in the history
  • Loading branch information
jawoznia committed Nov 14, 2024
1 parent 96b8a96 commit 37a32cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/doc-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
run: sudo apt-get install -y ripgrep
- name: Check the repo for wrong entrypoint mentions
run: |
for item in $(find src -type f -name "*.mdx"); do
for item in $(find src -type f -name "*.mdx" -not -path "*/tutorial/*"); do
echo "Checking $item"
rg "^\s*#\[entry_point\]" $item && echo "Found file that didn't match specification: $item" && exit 1
done
Expand Down

0 comments on commit 37a32cb

Please sign in to comment.