mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 04:44:52 +00:00
feat: improve workflow to check openapi schema too
This commit is contained in:
parent
bc74571cd8
commit
007c8302e2
5
.github/workflows/autodocs.yaml
vendored
5
.github/workflows/autodocs.yaml
vendored
@ -14,7 +14,12 @@ jobs:
|
|||||||
- name: Install Launcher
|
- name: Install Launcher
|
||||||
id: install-launcher
|
id: install-launcher
|
||||||
run: cargo install --path launcher/
|
run: cargo install --path launcher/
|
||||||
|
|
||||||
- name: Check launcher Docs are up-to-date
|
- name: Check launcher Docs are up-to-date
|
||||||
run: |
|
run: |
|
||||||
echo text-generation-launcher --help
|
echo text-generation-launcher --help
|
||||||
python update_doc.py md --check
|
python update_doc.py md --check
|
||||||
|
|
||||||
|
- name: Check that openapi schema is up-to-date
|
||||||
|
run: |
|
||||||
|
python update_doc.py openapi --check
|
||||||
|
Loading…
Reference in New Issue
Block a user