mirror of
https://github.com/Hopiu/llm.git
synced 2026-04-12 01:01:01 +00:00
Ensure cog runs against docs/*.md as well
This commit is contained in:
parent
b7e6c1675b
commit
3224f82cff
2 changed files with 2 additions and 2 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
run: |
|
||||
cog --check \
|
||||
-p "import sys, os; sys._called_from_test=True; os.environ['LLM_USER_PATH'] = '/tmp'" \
|
||||
docs/**/*.md
|
||||
docs/**/*.md docs/*.md
|
||||
- name: Run Black
|
||||
run: |
|
||||
black --check .
|
||||
|
|
|
|||
2
Justfile
2
Justfile
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
# Rebuild docs with cog
|
||||
@cog:
|
||||
pipenv run cog -r -p "import sys, os; sys._called_from_test=True; os.environ['LLM_USER_PATH'] = '/tmp'" docs/**/*.md
|
||||
pipenv run cog -r -p "import sys, os; sys._called_from_test=True; os.environ['LLM_USER_PATH'] = '/tmp'" docs/**/*.md docs/*.md
|
||||
|
||||
# Serve live docs on localhost:8000
|
||||
@docs: cog
|
||||
|
|
|
|||
Loading…
Reference in a new issue