mirror of
https://github.com/python/cpython
synced 2026-11-16 15:34:01 +03:00
25 lines
515 B
YAML
25 lines
515 B
YAML
name: Reusable C API Docs Check
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
env:
|
|
FORCE_COLOR: 1
|
|
|
|
jobs:
|
|
check-c-api-docs:
|
|
name: 'Check if all C APIs are documented'
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- uses: actions/checkout@v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions/setup-python@v7.0.0
|
|
with:
|
|
python-version: '3.x'
|
|
- name: Check for undocumented C APIs
|
|
run: python Tools/check-c-api-docs/main.py
|