Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/cli-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ on:
paths:
- 'tests/main/**'
- 'tests/test_main_kr.py'
- 'src/datamodel_code_generator/arguments.py'
- 'src/datamodel_code_generator/cli_options.py'
- 'scripts/build_cli_docs.py'
pull_request:
branches: [main]
paths:
- 'tests/main/**'
- 'tests/test_main_kr.py'
- 'src/datamodel_code_generator/arguments.py'
- 'src/datamodel_code_generator/cli_options.py'
- 'scripts/build_cli_docs.py'

Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ dependency_groups =
no_default_groups = true

[testenv:cli-docs]
description = Check CLI documentation is up to date
description = Build CLI documentation (use --check to validate only)
commands =
pytest --collect-cli-docs -p no:xdist -q
python scripts/build_cli_docs.py {posargs:--check}
python scripts/build_cli_docs.py {posargs}
dependency_groups = test
no_default_groups = true

Expand Down
Loading